]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Fix cp -a confusion bug.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Aug 2004 17:19:07 +0000 (17:19 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Aug 2004 17:19:07 +0000 (17:19 +0000)
ChangeLog

index d77c95dbccab7d77114c09bd123cde5ce3d296c9..6640c0a6445bed7b1538e79441744c38f0ad7df2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * src/copy.c (copy_internal): When preserving links, unlink
+       a destination with link count greater than one.  This is so
+       that commands like "cp -a" don't get confused when copying into
+       a destination that already contains many hard links.  Problem
+       reported by Tim Waugh in:
+       http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00053.html
+
 2004-08-10  Paul Eggert  <eggert@cs.ucla.edu>
 
        Convert all files to UTF-8.