summaryrefslogtreecommitdiffstats
path: root/src/remove.c
AgeCommit message (Expand)AuthorLines
2006-02-12fix typo in commentJim Meyering-2/+2
2006-02-11rm -r must remove an empty directory, even if it is inaccessible.Jim Meyering-12/+39
2006-01-06(rm_1): Remove `static' attribute on local `status'.Jim Meyering-4/+1
2006-01-05Give a few functions the inline attribute.Jim Meyering-15/+16
2005-12-27(fd_to_subdirp): Open with O_DIRECTORY | O_NOCTTYPaul Eggert-5/+6
2005-12-17(is_empty_dir): Open with O_NDELAY, so we don't hang, e.g., on a named pipe.Jim Meyering-13/+3
2005-12-17(OPENAT_CWD_RESTORE__REQUIRE): Remove.Paul Eggert-38/+19
2005-11-23(rm): Don't assume C99 for-loop syntax.Paul Eggert-1/+2
2005-11-22whoops. Add back decl/definition of n_lengths.Jim Meyering-1/+5
2005-11-22(AD_push): Remove debugging cruft.Jim Meyering-8/+1
2005-11-22tweak commentsJim Meyering-5/+5
2005-11-22Rewrite. Now, this module is reentrant on systemsJim Meyering-285/+413
2005-11-17(AD_mark_helper): Make a `char *' parameter `const'.Jim Meyering-3/+3
2005-11-02(remove_entry): Emit a better diagnostic when rmJim Meyering-0/+19
2005-09-20(write_protected_non_symlink): Change comment to agree with the code.Jim Meyering-2/+2
2005-09-19(remove_dir): Return RM_ERROR, not `1',Jim Meyering-1/+1
2005-09-19(remove_cwd_entries): Syntactic tweak: move anJim Meyering-1/+2
2005-07-03Include "lstat.h" rather than rolling our own.Paul Eggert-7/+1
2005-06-02Don't use "path" or "filename".Paul Eggert-2/+2
2005-05-19(AD_mark_helper, AD_mark_current_as_unremovable):Jim Meyering-2/+2
2005-05-16Fix Cygwin porting problem reported by Eric Blake.Paul Eggert-8/+12
2005-05-14Include unlinkdir.h.Paul Eggert-91/+81
2005-05-14Update FSF postal mail address.Jim Meyering-1/+1
2005-05-14Update FSF postal mail address.Jim Meyering-1/+1
2005-05-13fix grammar typo in commentJim Meyering-1/+1
2005-05-13* NEWS: `rm -r' now removes all of the files it should, even onJim Meyering-25/+46
2005-03-28(ds_init): Add `void' to make this an ANSI-style function declaration.Jim Meyering-2/+2
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