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: [ANNOUNCEMENT] Updated (experimental): coreutils-8.23-3


On 10/12/2014 02:56 AM, Corinna Vinschen wrote:

>> With coreutils 8.23-2 this suceeds, with the -3 release you'll get the error
>> cp: cannot create directory âACLtest/profile.dâ: File exists
> 
> It's even simpler than that:
> 
>   $ cd /tmp
>   $ mkdir -p a/1/2 b/1/2
>   $ touch a/1/2/x b/1/2/y
>   $ cp -rp a/1/2 b/1
>   cp: cannot create directory âb/1/2â: File exists

D'oh - now I see it. In my .exe code additions, I had added a '!= 0'
test that should have really been a '> 0' test; because directories
cause an expected -1 return that should not have triggered an attempt at
.exe magic.  -4 coming soon.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
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]