Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 17:46:47 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_ntptime.c
Message-ID:  <XFMail.20030625174647.jhb@FreeBSD.org>
In-Reply-To: <200306252056.h5PKuelT034843@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030625174647.jhb>