Date: Wed, 25 Jun 2003 13:56:40 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_ntptime.c Message-ID: <200306252056.h5PKuelT034843@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306252056.h5PKuelT034843>