www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/23/11:29:39

Subject: More about timezones ...
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 23 Aug 1994 14:03:36 +0200 (MET DST)
From: Henrik Storner <storner AT olicom DOT dk>
Cc: dj AT ctron DOT com

Well, I did some more investigation of the problems with the timestamps
returned by stat(). The problems disappears, if go32 is recompiled with
BC 3.1 !

stat() is implemented in go32 (in one of the turbo_assist functions), and
for a start it simply calls the go32 run-time library stat() function.
DJ mentioned some time ago that he was using Turbo-C 2.0 to compile go32;
I am using Borland C 3.1, and apparently there was some change of timezone
handling between the two versions. The same program returns different
timestamp values, depending upon which compiler was used to build go32.

When go32 is built with BC 3.1, and the TZ variable is setup as per
Posix, the timehandling works as it should. ftime() even gets the DST
times setup correctly!

(Dare I suggest this?)

Maybe it is about time to switch compiler for go32 ?
-- 
Henrik Storner        | "Man is the best computer we can put aboard a space-
(storner AT olicom DOT dk)   |  craft ... and the only one that can be mass produced 
System Engineering    |  with unskilled labor."
Olicom Denmark        |                                   Wernher von Braun

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019