Quoting the ever-optimistic www.2038bug.com:

#include <stdlib.h>
#include <stdio.h>
#include <time.h>

int main (int argc, char **argv)
{
    time_t t;
    t = (time_t) 1000000000;
    printf ("%d, %s", (int) t, asctime (gmtime (&t)));
    t = (time_t) (0x7FFFFFFF);
    printf ("%d, %s", (int) t, asctime (gmtime (&t)));
    t++;
    printf ("%d, %s", (int) t, asctime (gmtime (&t)));
    return 0;
}

Moish


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to