aboutsummaryrefslogtreecommitdiffstats
path: root/src/remove.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2003-05-04(HAVE_WORKING_READDIR): Define to 0 if not defined.Jim Meyering1-15/+8
2003-05-02Work around nasty readdir bug with Darwin6.5 and hfs file system.Jim Meyering1-1/+23
2003-05-02Factor out common code.Jim Meyering1-24/+25
2003-04-13(is_empty_dir): Don't closedir (NULL).Jim Meyering1-4/+1
2003-03-30(is_empty_dir): Don't let a failing closedirJim Meyering1-1/+2
2003-03-16(rm): Put two local variables in static storage,Jim Meyering1-2/+5
2003-03-09(AD_stack_pop): Cast sizeof... to int before changing its sign.Jim Meyering1-2/+2
2003-03-04(AD_pop_and_chdir): Call error here, now that restore_cwd no longer does it.Jim Meyering1-2/+3
2003-03-03(remove_cwd_entries): Include the full filename ofJim Meyering1-1/+2
2003-03-03(remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give anJim Meyering1-24/+40
2003-02-14Include "euidaccess.h".Jim Meyering1-1/+1
2003-01-21(remove_entry) [ROOT_CAN_UNLINK_DIRS && HAVE_STRUCT_DIRENT_D_TYPE]: If a fileJim Meyering1-1/+1
2003-01-20Rename type: DS -> Dirstack_state.Jim Meyering1-25/+27
2003-01-20Remove some unnecessary parentheses.Jim Meyering1-6/+6
2003-01-07tweak commentJim Meyering1-2/+3
2003-01-07add a commentJim Meyering1-0/+2
2003-01-04rm could be tricked into mistakenly reporting a cycle.Jim Meyering1-40/+24
2003-01-04Don't include trailing /. in diagnostics about directories.Jim Meyering1-5/+15
2003-01-04(remove_cwd_entries): Fix typos in comment.Jim Meyering1-2/+2
2003-01-04(struct dirstack_state): Define.Jim Meyering1-104/+138
2003-01-04[S_ISLNK]: Don't define. It's already defined in sys2.h.Jim Meyering1-5/+1
2002-12-15Remove all uses of `PARAMS'.Jim Meyering1-1/+1
2002-12-15(PARAMS): Remove definition.Jim Meyering1-8/+0
2002-10-05(remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',Jim Meyering1-1/+8
2002-09-06(prompt): Change comment to give a better note to translators.Jim Meyering1-4/+3
2002-08-29(is_empty_dir): Detect and diagnose readdir failures.Jim Meyering1-4/+15
2002-08-29(remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return va...Jim Meyering1-1/+1
2002-08-29(remove_cwd_entries): Detect and diagnose readdirJim Meyering1-4/+21
2002-08-28(remove_cwd_entries): Use CLOSEDIR, not closedir.Jim Meyering1-1/+5
2002-07-22rm would prompt for non-dangling symlinksJim Meyering1-1/+5
2002-07-14Under some circumstances, rm would fail due to a lack ofJim Meyering1-3/+19
2002-07-04(prompt): Fix test for write-protectedness to alsoJim Meyering1-1/+1
2002-06-29(AD_mark_current_as_unremovable): Replace dead code with an assertion.Jim Meyering1-3/+1
2002-06-25(prompt): Add a comment to help translators workJim Meyering1-5/+12
2002-06-12(rm): Fix typo in assertion.Jim Meyering1-1/+1
2002-06-07(remove_entry): Use DT_IS_DIR only ifJim Meyering1-3/+10
2002-06-02Merge in all changes from no-recursion branch.Jim Meyering1-480/+649
2002-05-03Add FIXME comment.Jim Meyering1-0/+5
2002-04-27(cycle_check): Add a comment.Jim Meyering1-0/+2
2002-04-27(cycle_check): New function containing code factoredJim Meyering1-44/+39
2002-04-25Remove hash table, active_dir_map, used to detect directory cycles.Jim Meyering1-146/+52
2002-04-22(rm): Call exit with EXIT_FAILURE, not `1'.Jim Meyering1-1/+1
2002-04-22(rm, remove_init, remove_fini): Don't use or evenJim Meyering1-18/+22
2002-03-10* src/copy.c (copy_reg): Use a more concise diagnostic forJim Meyering1-19/+4
2002-03-09(rm) Add comment on new parameter.Jim Meyering1-1/+3
2002-03-08Don't allow a malicious user to trick another user's rm process intoJim Meyering1-11/+43
2002-02-01(rm): Add a comment.Jim Meyering1-1/+5
2001-11-23Use opaque type, Hash_table, not `struct hash_table'.Jim Meyering1-2/+2
2001-10-05Include hash-pjw.h and remove definition of hash_pjw.Jim Meyering1-20/+1
2001-08-31* src/remove.c: Move true/false definitions and include from here...Jim Meyering1-6/+0