[squeak-dev] The Trunk: Compression-ar.19.mcz

Javier Díaz Reinoso javier_diaz_r at mac.com
Tue Aug 10 23:51:16 UTC 2010


> On 10/08/2010, at 15:19, commits at source.squeak.org wrote:
> 
> Fix handling of empty members in ZipArchives which would produce zips considered corrupt by other tools (unzip -t).
> 
> =============== Diff against Compression-nice.18 ===============
> 
> Item was changed:
>  ----- Method: ZipArchiveMember>>writeDataTo: (in category 'private-writing') -----
>  writeDataTo: aStream
...

This remember me of a bug who also created corrupt zip files, in ZipArchiveMember>>dosToUnixTime: for converting years the method move 1980 to 1911, so the year 2000 is moved to 1931, but February/1931 was not a leap year, is that rule of divisible by 400, so is not a very common bug.




More information about the Squeak-dev mailing list