bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] file name with backslash is not archived


From: Eric Blake
Subject: Re: [Bug-tar] file name with backslash is not archived
Date: Tue, 02 Nov 2010 14:51:11 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Mnenhy/0.8.3 Thunderbird/3.1.3

On 11/02/2010 02:47 PM, Paul Eggert wrote:
> On 11/02/10 13:18, Eric Blake wrote:
>> This won't work in cygwin - there, \ and / are synonymous for directory
>> separators, and 'touch src/\' will successfully touch the directory src.
> 
> But that's still OK, no?  The code will ignore
> the failure, and the rest of the test should still work.
> (The test doesn't keep track of the file names for whic
> "touch" succeeds; it merely relies on whatever files
> happen to get created.)

Hmm, you may be right that the test is still okay.  I'll give this a
quick spin on cygwin to confirm.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]