summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-03-30 07:11:34 +0000
committerJim Meyering <jim@meyering.net>2002-03-30 07:11:34 +0000
commit3dd09fbf17773630d14f371f332e11037161be95 (patch)
treed5772997270718985f34114f82a0413dd9dbc2f5 /old
parentbaa4aff63326a7f297828996aeaeb8152f159929 (diff)
downloadcoreutils-3dd09fbf17773630d14f371f332e11037161be95.tar.xz
*** empty log message ***
Diffstat (limited to 'old')
-rw-r--r--old/fileutils/ChangeLog18
1 files changed, 17 insertions, 1 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 99ce6c276..37546b5b8 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,7 +1,23 @@
-2002-03-17 Jim Meyering <meyering@lucent.com>
+2002-03-30 Jim Meyering <meyering@lucent.com>
* Version 4.1.8.
+ * src/copy.c (copy_internal): Move the block that sets `earlier_file'
+ down to just before the first use of that variable. Otherwise, it was
+ possible to make mv (and probably cp, too) malfunction when copying
+ hard-linked files into a directory containing at least one of the
+ source file names. Call forget_created everywhere thereafter where
+ this function returns without creating a destination file that might
+ subsequently be linked. Reported by Iida Yosiaki.
+ * src/cp-hash.c (forget_created): New function.
+ * src/cp-hash.h (forget_created): Prototype.
+
+ * tests/mv/i-link-no: New test for the above.
+ Based on an example from Iida Yosiaki.
+ * tests/mv/Makefile.am (TESTS): Add i-link-no.
+
+2002-03-17 Jim Meyering <meyering@lucent.com>
+
* src/copy.c (copy_internal) [move_mode]: Give a better diagnostic,
by using errno from the failed unlink, when a cross-device `mv'
fails, e.g., because the destination cannot be unlinked.