Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-04-27 | (cycle_check): Add a comment. | Jim Meyering | |
2002-04-27 | (cycle_check): New function containing code factored | Jim Meyering | |
out of remove_dir. The sole difference is that upon detecting a cycle, rm now dies unconditionally. Before, in interactive mode, it would ask the user whether to continue. (remove_dir): Call cycle_check. | |||
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | (usage): Adjust ordering to match that of default output. | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | remove comment for reverted change | Jim Meyering | |
2002-04-25 | . | Jim Meyering | |
2002-04-25 | . | Jim Meyering | |
2002-04-25 | . | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | Avoid warnings from gcc. | Jim Meyering | |
Declare input_file and output_file to be `const'. (skip): Declare `file' parameter to be `const', too. | |||
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | Remove hash table, active_dir_map, used to detect directory cycles. | Jim Meyering | |
Instead, detect them lazily with just O(1) memory. Suggestion from Andi Kleen. (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. (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. | |||
2002-04-25 | Revert last change. | Jim Meyering | |
2002-04-25 | Revert last change. | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | . | Jim Meyering | |
2002-04-25 | *** empty log message *** | Jim Meyering | |
2002-04-25 | Remove ENABLE_NLS-related code. | Jim Meyering | |
(_, N_) Remove definitions. Include "gettext.h" instead. | |||
2002-04-24 | *** empty log message *** | Jim Meyering | |
2002-04-24 | filtered through cppi | Jim Meyering | |
2002-04-24 | *** empty log message *** | Jim Meyering | |
2002-04-24 | (INCLUDES): Remove -I../intl. | Jim Meyering | |
(libfetish_a_SOURCES): Add gettext.h. | |||
2002-04-24 | *** empty log message *** | Jim Meyering | |
2002-04-24 | (jm_PREREQ_HARD_LOCALE): New macro. | Jim Meyering | |
(jm_PREREQ): Use it. | |||
2002-04-24 | bump serial # to 9 | Jim Meyering | |
2002-04-24 | Check for these headers: locale.h unistd.h mach/mach.h fcntl.h. | Jim Meyering | |
Check for this function: setlocale. | |||
2002-04-22 | (rm): Call exit with EXIT_FAILURE, not `1'. | Jim Meyering | |
2002-04-22 | *** empty log message *** | Jim Meyering | |
2002-04-22 | (main): Adjust caller of remove_init. | Jim Meyering | |
2002-04-22 | (do_move): Adjust caller of remove_init. | Jim Meyering | |
2002-04-22 | (remove_init): Adjust prototype. | Jim Meyering | |
2002-04-22 | (rm, remove_init, remove_fini): Don't use or even | Jim Meyering | |
initialize the active_dir_map unless --recursive (-r) is specified. | |||
2002-04-20 | update framework | Jim Meyering | |
2002-04-19 | update framework | Jim Meyering | |
2002-04-19 | Use this: | Jim Meyering | |
(exit $fail); exit not this: exit $fail | |||
2002-04-19 | upgrade to use better framework | Jim Meyering | |
2002-04-19 | upgrade to use better framework | Jim Meyering | |
2002-04-19 | *** empty log message *** | Jim Meyering | |
2002-04-19 | upgrade to use better framework | Jim Meyering | |
2002-04-19 | clean-up | Jim Meyering | |
2002-04-19 | Lots of clean-up: | Jim Meyering | |
E.g., (exit $fail); exit t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0 | |||
2002-04-19 | *** empty log message *** | Jim Meyering | |
2002-04-19 | *** empty log message *** | Jim Meyering | |
2002-04-19 | Use tmpdir named $0.tmp/$$. Create with mkdir -p. | Jim Meyering | |
2002-04-19 | Use better trap, etc. | Jim Meyering | |
2002-04-19 | *** empty log message *** | Jim Meyering | |