summaryrefslogtreecommitdiff
path: root/old/fileutils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-07 08:41:23 +0000
committerJim Meyering <jim@meyering.net>2001-10-07 08:41:23 +0000
commit06ab93322091cab4f80512daa3365577514aa37b (patch)
treef6d06eebe6c04f6e4182339be209f5cbc7d1527c /old/fileutils
parent61b95dac6923f9ee9a53f3a42bef8124b932ac06 (diff)
downloadcoreutils-06ab93322091cab4f80512daa3365577514aa37b.tar.xz
*** empty log message ***
Diffstat (limited to 'old/fileutils')
-rw-r--r--old/fileutils/ChangeLog18
1 files changed, 17 insertions, 1 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index e6f16adc0..c4046653c 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,7 +1,23 @@
-2001-10-06 Jim Meyering <meyering@lucent.com>
+2001-10-07 Jim Meyering <meyering@lucent.com>
* Version 4.1.1.
+ Allow cp -a (and mv when it resorts to copying) to preserve
+ hard links that span command line arguments.
+
+ * src/cp.c (do_copy): Don't clear the hash table after processing
+ each command line argument.
+ * tests/cp/link-preserve: New test for the above.
+ * tests/cp/Makefile.am (TESTS): Add link-preserve.
+
+ * src/cp-hash.c (remember_copied): Make a local copy of the file name.
+ (src_to_dest_free): New function (to free the above).
+ (hash_init): Register src_to_dest_free.
+ * src/copy.c (copy_dir): Now that remember_copied copies the
+ file name, free the temporary `dst_path' allocated here.
+
+2001-10-06 Jim Meyering <meyering@lucent.com>
+
Convert du.c to use the functions in lib/hash.c, not private,
slightly-modified copies of those that used to be in cp-hash.c.