aboutsummaryrefslogtreecommitdiff
path: root/bin/rm/rm.c
Commit message (Expand)AuthorAgeFilesLines
* fts_read: Handle error from a NULL return better.Bryan Drewery2020-12-081-1/+1
* Remove include of stdint.h. It was added in r241014 for uintmax_t,Xin LI2020-04-231-1/+0
* rm(1): Formalize non-functional status of -P flagConrad Meyer2018-11-101-97/+4
* Fix unlink(1) for files starting with -Ed Maste2018-09-121-7/+6
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Fix cosmetic nit when printing out "override $mode" and "$owner/$group ..."Enji Cooper2017-11-051-1/+1
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Protecting against rm -rf / is now POSIXLY_CORRECT per posix 1003.1Baptiste Daroussin2015-11-071-2/+1
* Respect locale settings.Xin LI2015-08-281-0/+3
* rm -rf can fail sometimes with an error from fts_read. Make it honorWarner Losh2014-07-071-1/+1
* Add two more 'static' qualifiersEitan Adler2013-04-261-2/+2
* Take some improvements from DragonFlyBSD:Eitan Adler2013-04-261-17/+17
* Add -x option to avoid crossing mount points when removing a hierarchy.Eitan Adler2013-04-261-4/+9
* Fix bin/ build with a 64-bit ino_t.Matthew D Fleming2012-09-271-2/+3
* Polish previous revision: if the fts_* routines have lstat()'ed theXin LI2012-06-201-2/+8
* Fix potential symlink race condition in "rm -P" by adding a checkKevin Lo2012-06-201-2/+9
* Put some static keywords in the source code.Ed Schouten2011-10-311-4/+4
* bin: Prefer strrchr() to rindex().Jilles Tjoelker2011-03-151-1/+1
* rm(1): clarify that -P works only when blocks are updated in-placeUlrich Spörlein2010-10-081-2/+2
* rm, find -delete: fix removing symlinks with uchg/uappnd set.Jilles Tjoelker2009-05-301-3/+3
* Implement ^T support for rm: now it will report the next file itWarner Losh2009-04-291-0/+29
* Correct a security issue introduced in previous commit:Xin LI2006-10-311-2/+2
* Be more reasonable when overwrite mode is specified while thereXin LI2006-10-301-0/+5
* o Backout rev. 1.55. Don't waste cpu cycles for bzero(), do notMaxim Konovalov2006-10-181-2/+1
* o Zero out struct stat before usage. lstat(2) can fail andMaxim Konovalov2006-10-181-0/+1
* o Be pedantic and do fts_close() when done.Maxim Konovalov2006-04-151-0/+1
* Handle the case where the -P flag is specified for a read-only fileDoug Barton2005-09-291-4/+5
* UNIX conformance: If -r -f on non-existent directory, don't emit error.Jordan K. Hubbard2004-11-131-1/+4
* Add -I, an option that asks for confirmation once if recursivelyXin LI2004-10-281-3/+62
* The previous commit added code to rm(1) to warn about and remove anyDag-Erling Smørgrav2004-10-041-1/+2
* Find out how flame-proof my underwear really is.Dag-Erling Smørgrav2004-10-041-0/+23
* Whitespace cleanup.Dag-Erling Smørgrav2004-10-041-4/+4
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* o Fix a style bug and poor wording in comment.Jun Kuriyama2004-01-011-2/+10
* When the P flag is set (i.e. Overwrite regular files before deleting them),Guido van Rooij2003-11-101-8/+14
* 1. Fixed leakage of a file descriptor for every non-fatal failure inBruce Evans2003-11-081-1/+3
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
* s/filesystem/file system/ as discussed on -developersTom Rhodes2002-08-211-2/+2
* Complain if more than one file argument is given to unlink(1) like we didTim J. Robbins2002-07-121-1/+1
* err() is documented as allowing NULL for the format string but GCC isn'tMatthew Dillon2002-07-101-2/+2
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-3/+2
* Reject options, handle "--" correctly in unlink(1).Tim J. Robbins2002-05-301-4/+7
* Consistancy check s/file system/filesystem/Tom Rhodes2002-05-161-2/+2
* Move user_from_uid to pwd.hWarner Losh2002-02-141-0/+2
* o __P has been reovedWarner Losh2002-02-021-23/+13
* Add prototypes for main() so that these programs compile with -WerrorLuigi Rizzo2001-12-141-0/+1
* Removed wrong cast for fts_open()'s third argument.Ruslan Ermilov2001-06-131-1/+1
* Display pathname of item being rm'ed.David E. O'Brien2000-12-201-3/+3
* Switch over to using the new fflagstostr and strtofflags library calls.Josef Karthauser2000-06-171-8/+6
* Remove unused #include.Jeroen Ruigrok van der Werven2000-05-011-1/+0