aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/rm.c
AgeCommit message (Collapse)Author
2012-12-12The Linux kernel "make clean" calls rm -f with no arguments, which ↵0.4.2Rob Landley
apparently is not an error.
2012-12-10essat's flag not to follow symlinks isn't in the system call, and if libc is ↵Rob Landley
supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.)
2012-12-08Complicate the rm -i behavior to do what posix specifies.Rob Landley
2012-12-07New rm command.Rob Landley