Please test latest developer snapshot
Warren Young
warren@etr-usa.com
Sat Feb 19 20:35:00 GMT 2011
On 2/19/2011 11:35 AM, Warren Young wrote:
> On 2/19/2011 11:29 AM, Warren Young wrote:
>> $ rmdir .
>> rmdir: failed to remove `.': Invalid argument
>
> Nevermind. It doesn't work on Linux, either. I guess /bin/rmdir has code
> in it to check for that, which rmdir(2) does not.
Better test, which does work with 20110215, and which proves it's
rmdir(1) being too clever, but not so clever it can't be outsmarted:
$ mkdir foo
$ cd foo
$ rmdir ../foo
Eat that, rmdir(1)!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list