summaryrefslogtreecommitdiffstats
path: root/src/remove.c
AgeCommit message (Expand)AuthorLines
2002-10-05(remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',Jim Meyering-1/+8
2002-09-06(prompt): Change comment to give a better note to translators.Jim Meyering-4/+3
2002-08-29(is_empty_dir): Detect and diagnose readdir failures.Jim Meyering-4/+15
2002-08-29(remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return va...Jim Meyering-1/+1
2002-08-29(remove_cwd_entries): Detect and diagnose readdirJim Meyering-4/+21
2002-08-28(remove_cwd_entries): Use CLOSEDIR, not closedir.Jim Meyering-1/+5
2002-07-22rm would prompt for non-dangling symlinksJim Meyering-1/+5
2002-07-14Under some circumstances, rm would fail due to a lack ofJim Meyering-3/+19
2002-07-04(prompt): Fix test for write-protectedness to alsoJim Meyering-1/+1
2002-06-29(AD_mark_current_as_unremovable): Replace dead code with an assertion.Jim Meyering-3/+1
2002-06-25(prompt): Add a comment to help translators workJim Meyering-5/+12
2002-06-12(rm): Fix typo in assertion.Jim Meyering-1/+1
2002-06-07(remove_entry): Use DT_IS_DIR only ifJim Meyering-3/+10
2002-06-02Merge in all changes from no-recursion branch.Jim Meyering-480/+649
2002-05-03Add FIXME comment.Jim Meyering-0/+5
2002-04-27(cycle_check): Add a comment.Jim Meyering-0/+2
2002-04-27(cycle_check): New function containing code factoredJim Meyering-44/+39
2002-04-25Remove hash table, active_dir_map, used to detect directory cycles.Jim Meyering-146/+52
2002-04-22(rm): Call exit with EXIT_FAILURE, not `1'.Jim Meyering-1/+1
2002-04-22(rm, remove_init, remove_fini): Don't use or evenJim Meyering-18/+22
2002-03-10* src/copy.c (copy_reg): Use a more concise diagnostic forJim Meyering-19/+4
2002-03-09(rm) Add comment on new parameter.Jim Meyering-1/+3
2002-03-08Don't allow a malicious user to trick another user's rm process intoJim Meyering-11/+43
2002-02-01(rm): Add a comment.Jim Meyering-1/+5
2001-11-23Use opaque type, Hash_table, not `struct hash_table'.Jim Meyering-2/+2
2001-10-05Include hash-pjw.h and remove definition of hash_pjw.Jim Meyering-20/+1
2001-08-31* src/remove.c: Move true/false definitions and include from here...Jim Meyering-6/+0
2001-05-13(dir_name, dir_len): Define to different namesJim Meyering-0/+5
2001-05-12Include dirname.h, to get base_nameJim Meyering-0/+1
2001-02-18`chmod 0 file; rm file' would no longer prompt before removal.Jim Meyering-1/+1
2001-01-22(remove_file): Correct an expression to avoid makingJim Meyering-2/+2
2000-12-25(hash_compare_active_dir_ents): Return explicit `true'Jim Meyering-1/+1
2000-08-08(remove_cwd_entries, rm): Invoke xalloc_die instead of printing our own message.Jim Meyering-3/+3
2000-07-30(remove_file): Quote the file names that are displayed with --verbose.Jim Meyering-3/+3
2000-07-30(remove_cwd_entries): Quote one more file name.Jim Meyering-1/+1
2000-07-23(ASSIGN_STRDUPA): Remove macro definition.Jim Meyering-15/+2
2000-07-15Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering-28/+34
2000-05-20add format args to match new %lu directivesJim Meyering-0/+2
2000-05-20tweak warning diagnosticJim Meyering-4/+4
2000-05-20Save device number as well as inode number for each directory.Jim Meyering-50/+69
2000-05-18(rm): Combine adjacent fputc and fprintf.Jim Meyering-2/+1
2000-05-18remove some parens from some cpp linesJim Meyering-2/+2
2000-05-18(remove_dir): Detect (and fail upon) attempt to subvert a running `rm -r'.Jim Meyering-1/+33
1999-11-12(print_nth_dir): Write one fewer byte so we don't print a trailing slash.Jim Meyering-7/+4
1999-05-13(pop_dir): Cast length to `int' to avoid a warning onJim Meyering-1/+1
1999-03-31Don't include closeout.h or version-etc.h explicitly. Now, they're included v...Jim Meyering-1/+0
1999-03-18(remove_cwd_entries): Reflect changes in hash_insert.Jim Meyering-16/+12
1999-02-16update copyright datesJim Meyering-1/+1
1999-01-16Don't declare base_name.Jim Meyering-2/+1
1998-11-30(DOT_OR_DOTDOT): Move definition from this file...Jim Meyering-4/+0