unzip surprise: foo.exe hides foo/ ?

Dan Kegel dank@kegel.com
Fri May 31 01:58:00 GMT 2013


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?  It kind of looks like unzip needs to be
aware of the leaky abstraction...

--
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