Re: Y2K-like bug to hit Linux computers! - Info of the day

From: Alan Cox
Date: Fri May 13 2005 - 16:33:31 EST


On Gwe, 2005-05-13 at 21:47, Valdis.Kletnieks@xxxxxx wrote:
> The heck with leap seconds - why did it warp back to 1901 rather
> than to 1969/1970? ;)

time_t is signed so it jumps back. 0:00 UTC is 0 not -MAXINT.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/