Oct. 29, 1996
4:36 p.m.
Here is the exact test the POSIX test suite is using that fails. int main() { struct tm tm; time_t t; tm.tm_isdst = -1; tm.tm_sec = 0; tm.tm_min = 0; tm.tm_hour = 2; tm.tm_mday = 26; tm.tm_mon = 1; tm.tm_year = 91; tm.tm_wday = 2; tm.tm_yday = -1; putenv("TZ=dst0std,J057,J059"); tzset(); t = mktime(&tm); printf("Expected: 667530000\n"); printf("or: 667533600\n"); printf("Actual: %ld\n", (long)t); return 0; }