In rm, init using to AT_REMOVEDIR in the dir case earlier.
authorRob Landley <rob@landley.net>
Fri, 6 Feb 2015 23:31:52 +0000 (17:31 -0600)
committerRob Landley <rob@landley.net>
Fri, 6 Feb 2015 23:31:52 +0000 (17:31 -0600)
commit459cab00f22c88ed64f56d9928baeba7a10789d5
tree83867f80bb4cb8be3e232739dad19944910df157
parentbd6c3f35ae226125737503dddac48e7924425b49
In rm, init using to AT_REMOVEDIR in the dir case earlier.

(If you had a chmod 000 directory and did rm -r on it without -f, after the prompt it would complain it was a directory.)
toys/posix/rm.c