aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/rm.c
AgeCommit message (Expand)Author
2021-02-01rm: Check file existence with lstat() explicitly if "-f" is specifiedYi-Yo Chiang
2020-01-28David Legault complained that dir/.* tells rm to delete dir/.. and we'd do it.Rob Landley
2019-11-12Don't rm prompt for nonexistent, just warn.Denys Nykula
2019-09-20rm.c: use FLAG().Elliott Hughes
2019-08-23rm: error message consistency.Elliott Hughes
2019-03-25Add rm -v.makepost@firemail.cc
2018-12-04Clean up some --help formatting.Elliott Hughes
2016-11-21Have dirtree_notdotdot() pass through !node->parent so . and .. on the commandRob Landley
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-09-07Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself.Rob Landley
2015-02-06In rm, init using to AT_REMOVEDIR in the dir case earlier.Rob Landley
2015-02-06Alright, the Android guys agree with the musl guys: faccessat(AT_SYMLINK_NOFO...Rob Landley
2014-09-18rm -rf needs to chmod directories to u+rwx, because directories need +x to se...Isaac Dunham
2014-09-13Bug report from luckboy: rm -f on a broken symlink didn't work because our "d...Rob Landley
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ope...Rob Landley
2014-07-03Fix rm -rf of chmod 000 directories.Rob Landley
2013-09-06Missing typecast in recent rm fix. Oops.Rob Landley
2013-09-05fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub".Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out o...Rob Landley
2012-12-12The Linux kernel "make clean" calls rm -f with no arguments, which apparently...0.4.2Rob Landley
2012-12-10essat's flag not to follow symlinks isn't in the system call, and if libc is ...Rob Landley
2012-12-08Complicate the rm -i behavior to do what posix specifies.Rob Landley
2012-12-07New rm command.Rob Landley