diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-12-12 18:31:48 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-02-10 10:02:34 +0000 |
commit | 9654b67a5443f046dd1e5fe655dc463463f6f9e3 (patch) | |
tree | 1568967d54c11fdf6620f9ed60801bb774d953b2 /doc/coreutils.texi | |
parent | 6e824a66194528696ba265d6111a6bddce4a8ff8 (diff) | |
download | coreutils-9654b67a5443f046dd1e5fe655dc463463f6f9e3.tar.xz |
cp: with --link always use linkat() if available
* src/copy.c (copy_reg): If linkat() is available it doesn't
matter about the gnulib emulation provided, and thus the
LINK_FOLLOWS_SYMLINKS should not have significance here.
This was noticed on FreeBSD and the consequence is that
cp --link will create hardlinks to symlinks there, rather
than emulating with symlinks to symlinks.
* tests/cp/link-deref.sh: Adjust the checks to cater
for all cases where hardlinks to symlinks are supported.
Diffstat (limited to 'doc/coreutils.texi')
0 files changed, 0 insertions, 0 deletions