Author ronaldoussoren
Recipients NewerCookie, alanmcintyre, amaury.forgeotdarc, chuck, ronaldoussoren, terry.reedy, tim.golden
Date 2010-09-14.11:35:00
SpamBayes Score 1.36378e-06
Marked as misclassified No
Message-id <1284464116.87.0.334684675748.issue6839@psf.upfronthosting.co.za>
In-reply-to
Content
I'd prefer if the code no longer checked if the filename in the directory matches the name in the per-file header.

The reason of that is that the two don't have to match: it is relatively cheap to rename a file in the zipfile by rewriting the directory while rewriting the entire zipfile can be pretty expensive when zipfiles get large.

It's probably worthwhile to test what other zipfile tools do in the respect (e.g., create a zipfile where the filename in the header doesn't match the name in the directory and extract that zip using a number of popular tools).


(I have a slightly odd perspective on this because I regularly deal with zipfiles containing over 100K files and over 10GByte of data).
History
Date User Action Args
2010-09-14 11:35:17ronaldoussorensetrecipients: + ronaldoussoren, terry.reedy, amaury.forgeotdarc, alanmcintyre, tim.golden, NewerCookie, chuck
2010-09-14 11:35:16ronaldoussorensetmessageid: <1284464116.87.0.334684675748.issue6839@psf.upfronthosting.co.za>
2010-09-14 11:35:01ronaldoussorenlinkissue6839 messages
2010-09-14 11:35:00ronaldoussorencreate