Amaury Forgeot d'Arc <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3997>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to