unzip surprise: foo.exe hides foo/ ?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri May 31 04:23:00 GMT 2013


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



More information about the Cygwin mailing list