summaryrefslogtreecommitdiffstats
path: root/src/remove.c
AgeCommit message (Expand)AuthorLines
2003-01-21(remove_entry) [ROOT_CAN_UNLINK_DIRS && HAVE_STRUCT_DIRENT_D_TYPE]: If a fileJim Meyering-1/+1
2003-01-20Rename type: DS -> Dirstack_state.Jim Meyering-25/+27
2003-01-20Remove some unnecessary parentheses.Jim Meyering-6/+6
2003-01-07tweak commentJim Meyering-2/+3
2003-01-07add a commentJim Meyering-0/+2
2003-01-04rm could be tricked into mistakenly reporting a cycle.Jim Meyering-40/+24
2003-01-04Don't include trailing /. in diagnostics about directories.Jim Meyering-5/+15
2003-01-04(remove_cwd_entries): Fix typos in comment.Jim Meyering-2/+2
2003-01-04(struct dirstack_state): Define.Jim Meyering-104/+138
2003-01-04[S_ISLNK]: Don't define. It's already defined in sys2.h.Jim Meyering-5/+1
2002-12-15Remove all uses of `PARAMS'.Jim Meyering-1/+1
2002-12-15(PARAMS): Remove definition.Jim Meyering-8/+0
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