summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-12-12 18:31:48 +0000
committerPádraig Brady <P@draigBrady.com>2014-02-10 10:02:34 +0000
commit9654b67a5443f046dd1e5fe655dc463463f6f9e3 (patch)
tree1568967d54c11fdf6620f9ed60801bb774d953b2 /doc/coreutils.texi
parent6e824a66194528696ba265d6111a6bddce4a8ff8 (diff)
downloadcoreutils-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