This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Please test latest developer snapshot


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]