1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

cp: Use FICLONE ioctl constant from linux-raw-sys

The current ioctl operation code for FICLONE is fully open-coded instead
of using the ioctl macros, which makes it non-portable to other
architectures including mips, arm & powerpc. Get the constant from the
linux-raw-sys crate instead, which is already a transitive dependency.
This commit is contained in:
Tuomas Tynkkynen 2025-03-12 22:20:16 +02:00
parent 56c3553f2c
commit cacb1a4fcb
4 changed files with 12 additions and 10 deletions

View file

@ -303,6 +303,7 @@ iana-time-zone = "0.1.57"
indicatif = "0.17.8"
itertools = "0.14.0"
libc = "0.2.153"
linux-raw-sys = "0.9"
lscolors = { version = "0.20.0", default-features = false, features = [
"gnu_legacy",
] }