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: unzip surprise: foo.exe hides foo/ ?


On 5/30/2013 9:50 PM, Dan Kegel wrote:
It seems that if a zipfile includes both foo.exe and foo/, unzipping
the zipfile fails like this:

inflating: /cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test.exe
checkdir error:
/cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test exists
but is not directory
                  unable to process
yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test/.

unzip then exits with nonzero status.

Is that confusion expected?

Yes, it is expected.  There's lots of discussions about transparently
handling the .exe extension in the email archives and the ramifications
if you're interested in more details.  It's exciting reading. ;-)

--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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