There are a lot of problems with different compilers, including bugs. 
What I use is:

TZ=X0Y0

it defines a TimeZone with localtime=UTC and no daylight save time, all 
explicitly. AFAIK it makes everything local time...

Alain

Eric Auer escreveu:
> Hi!
> 
>>>> set TZ=X)Y)
>>> Do not set TZ, it confuses info-zip zip and unzip.
> 
>> However, unzip32 will complain about TZ absent.
> 
> You can ignore that message :-)
> 
>> I have set up TZ and variable confuse nobody.
> 
> As far as I know, there is a known bug in DOS (un)zip
> timezone handling: If you do not set TZ, then it just
> uses local time. But if you do set TZ, the conversion
> between timestamps of files and timestamps inside ZIP
> files and back has unexpected results. For example you
> zip a file in DOS, unzip in Windows or Linux, and the
> timestamp of the unzipped file ends up being wrong...
> I think there was an update of info-zip for DOS this
> year, maybe they fixed this bug at that time?
> 
> Eric
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
> 
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to