cvs commit: src/sys/kern kern_ntptime.c
Warner Losh
imp at FreeBSD.org
Wed Jun 25 13:56:42 PDT 2003
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.
Reviewed by: phk
Revision Changes Path
1.52 +1 -1 src/sys/kern/kern_ntptime.c
More information about the cvs-src
mailing list