Posted by Jerry Stuckle on 06/23/07 11:28
David T. Ashley wrote:
> I have Red Hat Enterprise Linux 4.
>
> I was just reading up about UTC and leap seconds.
>
> Is it true on my system that the Unix time may skip up or down by one second
> at midnight when there is a leap second?
>
> By "Unix time" I mean the integer returned by time() and similar functions.
>
> I'm concerned about the "down" case. Some of the software I've written
> assumes monotonically-increasing time.
>
> Thanks.
Bad programming. What happens, for instance, if the clock on your
server is "corrected" back five seconds (possibly because it's running
fast)?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|