diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-06 21:31:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-06 21:31:57 +0000 |
commit | c8987dca561f47005f19d6b1f257331bc0613511 (patch) | |
tree | 8cf4ac285439e0ba0d3b05e5a0848bfd7283eac0 | |
parent | ccdb1b02159b155b71e561a0bc5b14656e1a7d4d (diff) | |
download | coreutils-c8987dca561f47005f19d6b1f257331bc0613511.tar.xz |
*** empty log message ***
-rw-r--r-- | old/fileutils/ChangeLog | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 5758fe5bf..e6f16adc0 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -2,15 +2,41 @@ * Version 4.1.1. + 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. + + * src/du.c (struct entry) [coll_link]: Remove member. + (struct htab): Remove. + (hash_reset, hash_init, hash_insert2, hash_insert): Remove functions. + + * src/du.c: Include hash.h and same.h. + (htab): Change type of global to `struct hash'; + (entry_hash, entry_compare, hash_ins): New functions. + (count_entry): Use hash_ins instead of hash_insert. + +2001-10-06 Jim Meyering <meyering@lucent.com> + + Rewrite cp-hash.c to use the functions in lib/hash.c. + + * src/cp-hash.c (hash_init): Die if hash_initialize fails. + * src/cp-hash.c: Rewrite to use the functions in lib/hash.c. * src/cp-hash.h: Update prototype for hash_init. * src/mv.c (do_move): Reflect that hash_init now takes no arguments. * src/install.c (main): Likewise. * src/cp.c (main): Likewise. +2001-10-06 Jim Meyering <meyering@lucent.com> + * src/copy.c (record_dest): Avoid a small leak. - (copy_internal): Call remember_copied only for if the source file - has 1 < st_nlink, or if it's a directory. + +2001-10-06 Jim Meyering <meyering@lucent.com> + + This decreases the memory footprint a little, when copying + hierarchies containing many files. + + * src/copy.c (copy_internal): Call remember_copied only if + the source file has 1 < st_nlink, or if it's a directory. Now that EARLIER_FILE is set conditionally, initialize it to NULL. * tests/mv/childproof: Redirect stderr on one test. |