summaryrefslogtreecommitdiffstats
path: root/src/remove.c
AgeCommit message (Expand)AuthorLines
2004-11-24Since the changes of 2004-05-22, the u.saved_cwd member atJim Meyering-35/+34
2004-10-21Correct my patch of 2004-10-18.Jim Meyering-4/+4
2004-10-18Plug a leak that would cause rm or a cross-device mv to fail whenJim Meyering-1/+4
2004-09-22(struct dirstack_state) [current_arg_jumpbuf]: Improve the comment.Jim Meyering-1/+5
2004-07-30(right_justify), full_filename_, AD_pop_and_chdir,Paul Eggert-17/+17
2004-07-28(remove_dir): If we can't save the state of thePaul Eggert-3/+6
2004-06-20Include yesno.h.Jim Meyering-5/+4
2004-06-02rm (without -f) could hang unnecessarily when attempting toJim Meyering-12/+36
2004-05-29rm -r would get a failed assertion when run from an inaccessibleJim Meyering-27/+88
2004-05-28(push_dir): Merge declaration and adjacent assignment into a single statement.Jim Meyering-3/+1
2004-05-28tweak a commentJim Meyering-1/+1
2004-05-28(AD_mark_helper): Eliminate unnecessary comparison.Jim Meyering-4/+6
2004-05-22(rm): Use free rather than XFREE.Jim Meyering-3/+3
2004-05-14(AD_pop_and_chdir): Eliminate an unnecessary call to AC_stack_top.Jim Meyering-2/+2
2004-05-12(AD_pop_and_chdir): Move lstat-`.' into if-blockJim Meyering-13/+11
2004-05-10(AD_push): Don't use errno in diagnostic about `changed dev/ino'.Jim Meyering-1/+1
2004-05-08Fix bug where "rm" gave up too easily, reported by Dan Jacobsen inJim Meyering-16/+11
2004-04-27(rm): Add `extern' keyword.Jim Meyering-1/+1
2004-04-20(is_empty_dir): Clarify comment.Jim Meyering-1/+1
2004-04-18(full_filename_): Don't leak upon failed realloc.Jim Meyering-2/+5
2004-04-18(readdir_ignoring_dotdirs): Move function to system.h, renaming it. Update u...Jim Meyering-14/+2
2004-04-17(ds_init, ds_free): Declare functions to be `static'.Jim Meyering-6/+6
2004-04-09undo last changeJim Meyering-0/+1
2004-04-09Don't include "file-type.h", now that system.h does.Jim Meyering-1/+0
2004-03-21(ds_free): Plug a small leak.Jim Meyering-1/+2
2003-11-09Include "root-dev-ino.h".Jim Meyering-4/+7
2003-09-08Add a comment.Jim Meyering-0/+4
2003-09-07(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:Jim Meyering-8/+0
2003-07-27(prompt) [! recursive]: Don't prompt about unwritableJim Meyering-0/+7
2003-07-12(remove_dir): Give a diagnostic upon failed save_cwd,Jim Meyering-1/+4
2003-07-12It appears that the `#pragma alloca' included via "system.h" isJim Meyering-4/+0
2003-05-04(HAVE_WORKING_READDIR): Define to 0 if not defined.Jim Meyering-15/+8
2003-05-02Work around nasty readdir bug with Darwin6.5 and hfs file system.Jim Meyering-1/+23
2003-05-02Factor out common code.Jim Meyering-24/+25
2003-04-13(is_empty_dir): Don't closedir (NULL).Jim Meyering-4/+1
2003-03-30(is_empty_dir): Don't let a failing closedirJim Meyering-1/+2
2003-03-16(rm): Put two local variables in static storage,Jim Meyering-2/+5
2003-03-09(AD_stack_pop): Cast sizeof... to int before changing its sign.Jim Meyering-2/+2
2003-03-04(AD_pop_and_chdir): Call error here, now that restore_cwd no longer does it.Jim Meyering-2/+3
2003-03-03(remove_cwd_entries): Include the full filename ofJim Meyering-1/+2
2003-03-03(remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give anJim Meyering-24/+40
2003-02-14Include "euidaccess.h".Jim Meyering-1/+1
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