On Thu, 11 Sep 2003, Rob Arends wrote: > > The results of your program > > tz=-36000 > dlp=1 > dla=1
This shows that daylight is active. I believe the M$ POSIX compatibility library is broken. > > Mind ppl living on the South Emisphere trying this : > > > > > > #include <stdio.h> > > #include <time.h> > > > > int main(void) { > > time_t tc; > > struct tm tmc; > > > > tzset(); > > tc = time(NULL); > > tmc = *localtime(&tc); > > > > #ifdef __GNUC__ > > printf("tz=%ld\n", timezone); > > printf("dlp=%d\n", daylight); > > #else > > printf("tz=%ld\n", _timezone); > > printf("dlp=%d\n", _daylight); > > #endif > > printf("dla=%d\n", tmc.tm_isdst); > > > > return 0; > > } - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]