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 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