summaryrefslogtreecommitdiffstats
path: root/src/remove.c
AgeCommit message (Expand)AuthorLines
2006-09-11* src/remove.c (remove_dir): Move new cache_stat_init call ontoJim Meyering-4/+5
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert-55/+108
2006-08-27* src/system.h (DOT_OR_DOTDOT): Remove macro. Rewrite as a...Jim Meyering-1/+1
2006-07-03Plug another unusual leak.Jim Meyering-3/+10
2006-07-03The dev/inode of the topmost directory in each hierarchy were notJim Meyering-11/+11
2006-07-03Fix two small leaks.Jim Meyering-0/+12
2006-06-28* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.Paul Eggert-4/+4
2006-06-26Attempt rmdir (actually, unlinkat-with-AT_REMOVEDIR) upon anyJim Meyering-15/+13
2006-06-26* NEWS: rm no longer fails to remove an empty, unreadable directoryJim Meyering-5/+23
2006-06-25tweak grammar in commentJim Meyering-1/+1
2006-03-26(rm_1): Use new last_component, in place of base_name.Jim Meyering-1/+1
2006-03-12(AD_pop_and_chdir): Use new macro,Jim Meyering-2/+2
2006-03-10Fix a bug whereby a user with write access to a directory being removedJim Meyering-1/+13
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