From owner-cvs-src@FreeBSD.ORG Wed Jun 25 14:46:45 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB20E37B408 for ; Wed, 25 Jun 2003 14:46:45 -0700 (PDT) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id BED1344028 for ; Wed, 25 Jun 2003 14:46:42 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 3369 invoked from network); 25 Jun 2003 21:46:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 25 Jun 2003 21:46:41 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h5PLkZGI057014; Wed, 25 Jun 2003 17:46:36 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200306252056.h5PKuelT034843@repoman.freebsd.org> Date: Wed, 25 Jun 2003 17:46:47 -0400 (EDT) From: John Baldwin To: Warner Losh cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/kern kern_ntptime.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 21:46:46 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/