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:
parent
56c3553f2c
commit
cacb1a4fcb
4 changed files with 12 additions and 10 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -2617,6 +2617,7 @@ dependencies = [
|
|||
"filetime",
|
||||
"indicatif",
|
||||
"libc",
|
||||
"linux-raw-sys 0.9.2",
|
||||
"quick-error",
|
||||
"selinux",
|
||||
"uucore",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue