]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: prefer our hardlink to symlink emulation on OS X 10.10
authorPádraig Brady <P@draigBrady.com>
Thu, 28 May 2015 00:26:08 +0000 (01:26 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 28 May 2015 00:42:15 +0000 (01:42 +0100)
commit67db18ce0ffc516eb0f39bf8ff3d8151ae810fc9
tree0cb3a3113e875fcc314ee331b4e4012627d21155
parenta41172a5c4b23b34fba3d76c036afa0f2a7eeb28
copy: prefer our hardlink to symlink emulation on OS X 10.10

* src/copy.c (CAN_HARDLINK_SYMLINKS): Don't enable use of linkat()
on Darwin 14, as the gnulib fallback emulation there doesn't
preserve ownership and timestamps etc.  This fixes a test failure
in tests/cp/link-symlink.sh
* tests/cp/link-deref.sh: Adjust accordingly.
src/copy.c
tests/cp/link-deref.sh