ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33049] - zip (and jar) produces broken archives when duplicated file is taken from two places.
Date Tue, 11 Jan 2005 20:19:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33049





------- Additional Comments From ant@kruithof.xs4all.nl  2005-01-11 21:19 -------
could this be an error in infozip?

Manual verification of the zip file shows that there are 2 local and 2 global
headers for path/to/file one with header ceaf2b32 and one with d3a52b32 in my
case for 2 empty files when zip. zip seems to complain about finding the "first"
file in the central archive while testing the latter one. Also unzip doesn't
complain:

jkf@jkf ant $ unzip -t test/aaa.zip
Archive:  test/aaa.zip
    testing: path/                    OK
    testing: path/to/                 OK
    testing: path/to/file             OK
    testing: path/to/file             OK
No errors detected in compressed data of test/aaa.zip.
jkf@jkf ant $ zip -Tf test/aaa.zip
        zip warning: local and central headers differ for (null)
        zip warning:  offset 6--local = d3, central = ce

zip error: Zip file structure invalid (test/aaa.zip)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message