Please test latest developer snapshot

Eric Blake eblake@redhat.com
Mon Feb 21 14:16:00 GMT 2011


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   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110221/34dcda46/attachment.sig>


More information about the Cygwin mailing list