Y2031 problem in tst-fseek.c ...

Denis Vlasenko vda@port.imtp.ilyichevsk.odessa.ua
Thu Jul 31 12:26:00 GMT 2003


On 25 July 2003 07:03, Dan Kegel wrote:
> OK, not that this is pressing or anything, but
> IIRC in the year 2031, time() will go negative,
> and for the next bunch of years, the sequence
>     t0 = time(0);
>     sleep(1);
>     t1 = time(0);
>     assert(t1 > t0);
> will fail.

-2 > -3
--
vda



More information about the Libc-alpha mailing list