summaryrefslogtreecommitdiff
path: root/src/remove.c
AgeCommit message (Expand)Author
2007-08-22Change "rm --verbose -r a//" not to print extra slashes in a///bJim Meyering
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-03-25Avoid the need for euidaccess and/or lstat on every directory entryPaul Eggert
2007-03-08rm without -f: give a better diagnostic when euidaccess fails.Jim Meyering
2007-01-17Make "rm --interactive=never ..." never prompt.Jim Meyering
2007-01-15* src/remove.c (remove_dir): Don't use errno in diagnostic.Jim Meyering
2006-12-30Clean up after the change of 2006-12-28.Jim Meyering
2006-12-28When moving "up" the hierarchy, be careful to remove a just-emptiedJim Meyering
2006-12-21"rm -rf /etc/motd" (run by non-root) now prints a diagnostic.Jim Meyering
2006-11-26* src/remove.c (fd_to_subdirp): Remove unused parameter, ds.Jim Meyering
2006-11-26Port parts of the code to C89 to minimize the need for c99-to-c89.diff,Paul Eggert
2006-11-26* src/remove.c (rm): Move cycle_check_init call into callee...Paul Eggert
2006-11-26* src/remove.c (AD_ensure_initialized): New function.Paul Eggert
2006-11-26* src/remove.c (AD_pop_and_chdir): Return prev_dir rather than storing throughPaul Eggert
2006-11-26* src/remove.c (cache_stat_init): Return its argument, for convenience.Paul Eggert
2006-11-26* src/remove.c (rm_1): Remove decl of local, fd_cwd.Paul Eggert
2006-10-25new feature: rm accepts new option: --one-file-systemJim Meyering
2006-10-05* src/dd.c (flags): noatime and nofollow now depend onPaul Eggert
2006-10-03* src/remove.c (nonexistent_file_errno): Remove ENAMETOOLONG.Jim Meyering
2006-10-03* src/remove.c (remove_entry): With -f, exit successfully in spiteJim Meyering
2006-10-03With --force (-f), rm no longer fails for ENOTDIR.Jim Meyering
2006-09-29[ChangeLog]Jim Meyering
2006-09-29Work around a readdir bug in Darwin 7.9.0 (MacOS X 10.3.9) on HFS+Jim Meyering
2006-09-26* NEWS: rm works around a bug in Darwin 8.6.1 w/NFS that keptJim Meyering
2006-09-11* src/remove.c (remove_dir): Move new cache_stat_init call ontoJim Meyering
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert
2006-08-27* src/system.h (DOT_OR_DOTDOT): Remove macro. Rewrite as a...Jim Meyering
2006-07-03Plug another unusual leak.Jim Meyering
2006-07-03The dev/inode of the topmost directory in each hierarchy were notJim Meyering
2006-07-03Fix two small leaks.Jim Meyering
2006-06-28* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.Paul Eggert
2006-06-26Attempt rmdir (actually, unlinkat-with-AT_REMOVEDIR) upon anyJim Meyering
2006-06-26* NEWS: rm no longer fails to remove an empty, unreadable directoryJim Meyering
2006-06-25tweak grammar in commentJim Meyering
2006-03-26(rm_1): Use new last_component, in place of base_name.Jim Meyering
2006-03-12(AD_pop_and_chdir): Use new macro,Jim Meyering
2006-03-10Fix a bug whereby a user with write access to a directory being removedJim Meyering
2006-02-12fix typo in commentJim Meyering
2006-02-11rm -r must remove an empty directory, even if it is inaccessible.Jim Meyering
2006-01-06(rm_1): Remove `static' attribute on local `status'.Jim Meyering
2006-01-05Give a few functions the inline attribute.Jim Meyering
2005-12-27(fd_to_subdirp): Open with O_DIRECTORY | O_NOCTTYPaul Eggert
2005-12-17(is_empty_dir): Open with O_NDELAY, so we don't hang, e.g., on a named pipe.Jim Meyering
2005-12-17(OPENAT_CWD_RESTORE__REQUIRE): Remove.Paul Eggert
2005-11-23(rm): Don't assume C99 for-loop syntax.Paul Eggert
2005-11-22whoops. Add back decl/definition of n_lengths.Jim Meyering
2005-11-22(AD_push): Remove debugging cruft.Jim Meyering
2005-11-22tweak commentsJim Meyering
2005-11-22Rewrite. Now, this module is reentrant on systemsJim Meyering