[squeak-dev] another Compression question

Javier Díaz Reinoso javier_diaz_r at mac.com
Sun Sep 19 22:26:13 UTC 2010


That's me, the patch try to simplify a time conversion, the original code was using DOS<->unix<->squeakDate conversions, instead I added squeakToDosTime: and dosToSqueakTime: to convert DOS<->squeakDate, because the unix conversion fails with certain dates like 29/Feb/2000 (a 2K bug).

I think you are seeing another bug, I can't test in this moment in my mac because I am seeing another bug(s), one with a .DS_STORE entry (an apple hidden directory) and another when I try to add a directory using the button I have a 'subscript is out of bounds: 0' error, this because any directory have a modification date of 0.

On 19/09/2010, at 16:14, Chris Muller wrote:

> I've just noticed that, whenever I create a zip file in Squeak, the
> timestamps of the Directory members are the year 2038.
> 
> It looks perhaps like the recent change to
> ZipArchiveMember>>#setLastModFileDateTimeFrom: might be the culprit.
> 
> Does anyone ("jdr"?) know why this method from 2001 was changed?
> 
> Thanks,
>  Chris
> 




More information about the Squeak-dev mailing list