summaryrefslogtreecommitdiff
path: root/tests/cp/link-no-deref
AgeCommit message (Collapse)Author
2006-06-03Test for this:Jim Meyering
Make `cp --link --no-dereference' work also on systems where the link system call cannot create a hard link to a symbolic link. * src/copy.c (copy_internal) [LINK_FOLLOWS_SYMLINKS]: Don't use the link syscall on a symlink when it would do the wrong thing. Based on the patch by Aurelien Jarno: <http://bugs.debian.org/329451>