On 02/19/2011 11:29 AM, Warren Young wrote:
> On 2/17/2011 5:04 AM, Corinna Vinschen wrote:
>> Hi crowd,
> 
> rabble? angry mob?
> 
>> - Reintroduce the ability to delete an empty directory which is the
>>    current working directory of the same or another Cygwin process.
> 
> I don't see that.  Testcase:
> 
>     $ mkdir foo
>     $ cd foo
>     $ rmdir .
>     rmdir: failed to remove `.': Invalid argument

POSIX doesn't allow rmdir(2) to succeed if the last component is '.'.
You have to use rmdir ../foo instead.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to