bug/deficiency in unzip: large files not supported?

Brent yhbrent@yahoo.com
Tue Nov 4 03:18:00 GMT 2014


On 2014-11-03 15:19:05-0600, Yaakov Selkowitz wrote:


>On 2014-10-30 19:01, Brent wrote:


>>I have encountered an inconsistency between cygwin's zip and unzip programs that I think reflects a bug (or incomplete implementation) in unzip.
>>The issue: zip can successfully archive large (> 4 GiB) files that unzip cannot extract.

>Could you please try again with the new upset-6.0-11?

Yaakov: I just downloaded unzip-6.0-11.  (Freudian slip with the upset?!).  Thanks much for the update!


I can verify that cygwin unzip passes my large file tests perfectly now.  I used a 5 GiB sized file filled with pseudo random data, but that should exceed the old 4 GiB file size limitation well enough.  I used all 4 combinations of Java and cygwin to archive and extract that file, verifying each time that the extraction perfectly reproduced the original large file, byte for byte.

Any thoughts on the bug that I found with cygwin unzip regarding its unicode handling?  In particular, cygwin unzip seems to work with cygwin zip, but cannot extract archives produced by multiple other mainstream zip programs.  My last email detailing this is
    https://cygwin.com/ml/cygwin/2014-11/msg00023.html

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