diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-25 16:40:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-25 16:40:18 +0000 |
commit | 184edc32abdc1106ab56d14e6e274b1368e64b55 (patch) | |
tree | eed7860be777975385e51009dcfb96c285ad83b5 /old/fileutils/ChangeLog | |
parent | 0199003cf96fbb3bbd72d5662a3f6788a4a4ce40 (diff) | |
download | coreutils-184edc32abdc1106ab56d14e6e274b1368e64b55.tar.xz |
*** empty log message ***
Diffstat (limited to 'old/fileutils/ChangeLog')
-rw-r--r-- | old/fileutils/ChangeLog | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index df141a879..8364f9573 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,5 +1,26 @@ 2002-04-25 Jim Meyering <meyering@lucent.com> + Remove hash table, active_dir_map, used to detect directory cycles. + Instead, detect them lazily with just O(1) memory. + Suggestion from Andi Kleen. + + * src/remove.c (is_power_of_two): New function. + (print_nth_dir, make_active_dir_ent): Remove functions. + (hash_active_dir_ent, hash_compare_active_dir_ents): Likewise. + (remove_dir): Check for cycles here, ... + (rm): ... and don't check for cycles here. + + * src/remove.c (rm): Call fspec_get_full_mode here, rather than + fspec_get_filetype_mode. We want to get the dev/ino earlier, and + at the same time as when we get the file type, to avoid the risk + that an attacker would change e.g. a directory to a symlink before + we record its dev/ino. + + * configure.ac (AC_CONFIG_FILES): Remove intl/Makefile. + (AM_GNU_GETTEXT): Add external arg. + + * Version 4.1.9. + * intl/: Remove directory. * Makefile.am (SUBDIRS): Remove intl. (DISTCLEANFILES): Remove definition. @@ -14,14 +35,9 @@ * src/remove.c (rm): Call exit with EXIT_FAILURE, not `1'. - * Version 4.1.9. - * src/remove.c (rm, remove_init, remove_fini): Don't use or even initialize the active_dir_map unless --recursive (-r) is specified. Suggestion from Andi Kleen - * src/remove.h (remove_init): Adjust prototype. - * src/mv.c (do_move): Adjust caller of remove_init. - * src/rm.c (main): Likewise. 2002-04-19 Jim Meyering <meyering@lucent.com> |