RE: cvs commit: src/sys/kern kern_ntptime.c

From: John Baldwin <>
Date: Wed, 25 Jun 2003 17:46:47 -0400 (EDT)
On 25-Jun-2003 Warner Losh wrote:
> imp         2003/06/25 13:56:40 PDT
>   FreeBSD src repository
>   Modified files:
>     sys/kern             kern_ntptime.c 
>   Log:
>   During a positive leap second, the tai_time offset should be
>   incremented at the start of the leap second, not after the leap second
>   has been inserted.  This is because at the start of the leap second,
>   we set the time back one second.  This setting back one second is the
>   moment that the offset changes.  The old code set it back after the
>   leap second, but that's one second too late.  The negative leap second
>   case is handled correctly.

After all this head spinning I think I'm going to get sick... :-P


John Baldwin <>  <><
"Power Users Use the Power to Serve!"  -
Received on Wed Jun 25 2003 - 14:46:45 UTC