summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-12 11:53:57 +0000
committerJim Meyering <jim@meyering.net>2004-03-12 11:53:57 +0000
commit97ce436ba55e7b3012b3615793d29aefa131a3fd (patch)
treebe30c82cbc533eb2eef0eaa1cc18871d33b17e75 /ChangeLog
parentec65003050283f2d2498aa55aecda02657557bd2 (diff)
downloadcoreutils-97ce436ba55e7b3012b3615793d29aefa131a3fd.tar.xz
*** empty log message ***
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 97821efd0..22ebc437c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,25 @@
-2004-03-11 Jim Meyering <jim@meyering.net>
+2004-03-12 Jim Meyering <jim@meyering.net>
* Version 5.2.1.
+ Sometimes, when source and destination partition are different,
+ mv mistakenly fails to preserve a hard link. Reported by IIDA Yosiaki.
+
+ * src/copy.c: When moving a set of N hard-linked files between
+ partitions, via two or more command line arguments where the
+ command line argument containing the Nth link contains no other
+ link to that same file, mv would mistakenly copy the file, rather
+ than hard-linking it to the other(s). That happens because when the
+ final link is processed, its link count has been reduced to 1 since
+ the other links have been `copied' to the destination partition
+ and the source links have been removed.
+ (copy_internal): When in move mode, use the source dev/inode
+ pair to look up destination name even when st_nlink == 1.
+ * src/cp-hash.c (src_to_dest_lookup): New function.
+ * src/cp-hash.h (src_to_dest_lookup): Add prototype.
+
+2004-03-11 Jim Meyering <jim@meyering.net>
+
* Use automake-1.8.3. Regenerate dependent files.
2004-03-10 Jim Meyering <jim@meyering.net>