]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: clone on macOS
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Nov 2021 23:07:18 +0000 (15:07 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Nov 2021 03:13:03 +0000 (19:13 -0800)
commit5e36c0ce078a65c7dac6ac5ebdfb0cf096856427
tree642ef0e97738349d4cdeb027c0facca41ae516a0
parent41bec08d7a8727d56cf982c3a75255576c8cef4f
cp: clone on macOS

* configure.ac: Check for fclonefileat.
* src/copy.c [HAVE_FCLONEFILEAT && !USE_XATTR]:
Include <sys/clonefile.h>.
(copy_reg): If possible, use fclonefileat to clone.
NEWS
configure.ac
src/copy.c