(copy_internal): Be consistent with intra-device behavior
authorJim Meyering <jim@meyering.net>
Sat, 4 Dec 1999 17:21:47 +0000 (17:21 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Dec 1999 17:21:47 +0000 (17:21 +0000)
commit698fd027984026be23a971e368d2ce724b345bfc
tree3eea010380220ed8ffcaf355374fa2f2e9a4fab2
parent28bac510d9faddfdb05c78563e3989e3a45a42bc
(copy_internal): Be consistent with intra-device behavior
and *do* allow `mv' to move a file onto a symlink to itself when that
symlink is on a separate partition.  With fileutils-4.0j, it would
fail with a diagnostic saying they were the same file.
Reported by Bruno Haible.
src/copy.c