Re: Y2K

Theodore Y. Ts'o (tytso@mit.edu)
Mon, 22 Jun 1998 22:57:44 -0400


From: "Marsh Ray" <marsh_lin@ad-hoc.gainesville.fl.us>
Date: Mon, 22 Jun 1998 15:44:10 -0400

I'm curious: How does the Kernel handle the leap-second? Does it
record a minute with 61 seconds somewhere? If so, doesn't it
break programs which count on (SECONDS_PER_MINUTE == 60)?

POSIX time ignores leap-seconds. There are various flamewars that
periodically occur about whether this is the Right Thing (tm), but the
POSIX standard is pretty clear about that.

Everything is defined in terms of "seconds since the Epoch".

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu