Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 07:36:22 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@hilink.com.au>
To:        Guido van Rooij <guido@gvr.org>
Cc:        "Daniel O'Callaghan" <danny@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/xntpd/parse/util dcfd.c testdcf.c src/usr.sbin/xntpd/xntpd refclock_acts.c refclock_heath.c
Message-ID:  <Pine.BSF.3.96.990113073209.29047C-100000@enya.clari.net.au>
In-Reply-To: <19990112211918.B24858@gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Jan 1999, Guido van Rooij wrote:

> >   Fix leap year calculations, including 2000.  The code was broken for all
> >   years!
> >   Reviewed by:	<thepish@freebsd.org>, <ishisone@sra.co.jp>
> 
> Has this been reported back to the xntpd authors?
> 
> It really surprises me that xntpd has such a problem.

Suprised me, too.  But it seems that the various clock interpretation
files were done by contributors, and some contributors did not understand
leap year calculations very well.  This is why I check my replacement code
for dy_size() several times logically and empirically, and got others to
do the same before I committed it.  I contacted Harlan Stenn of UDel
about this, and he was not interested in xntpd, only ntp-4.  The same
errors are in ntp-4, and I will be submitting a patch to Dave Mills later
today.

I'll also update en/y2kbug.html

Danny 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990113073209.29047C-100000>