[issue3997] zipfile and winzip

Amaury Forgeot d'Arc report at bugs.python.org
Tue Oct 21 22:41:15 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

OK, it seems that the "central directory size" and "central directory 
offset" must contain their actual value if it can fit in a 32bit int, 
even though the spec says "If an archive is in ZIP64 format and the 
value in this field is 0xFFFFFFFF, the value is in the corresponding zip64 end of central directory field."

Attached a new patch. The file generated by bug.py seems very similar to 
one generated with WinZip, and the WindowsXP explorer can now open it.

Added file: http://bugs.python.org/file11850/zip-64k-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3997>
_______________________________________


More information about the Python-bugs-list mailing list