From 3dd09fbf17773630d14f371f332e11037161be95 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 30 Mar 2002 07:11:34 +0000 Subject: [PATCH] *** empty log message *** --- old/fileutils/ChangeLog | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 99ce6c276c..37546b5b86 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,7 +1,23 @@ -2002-03-17 Jim Meyering +2002-03-30 Jim Meyering * 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 + * 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. -- 2.47.3