*BSD News Article 10646


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA420 ; Sun, 31 Jan 93 14:07:22 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!agate!ames!eos!data.nas.nasa.gov!eagle!lercmail!mckim
From: mckim@dinah.lerc.nasa.gov (Jim McKim)
Subject: Re: [386bsd] New patch00071 is slightly wrong
In-Reply-To: micke@dynas.se's message of Thu, 28 Jan 1993 16:02:39 GMT
Message-ID: <MCKIM.93Feb1093932@dinah.lerc.nasa.gov>
Sender: news@eagle.lerc.nasa.gov
Nntp-Posting-Host: dinah.lerc.nasa.gov
Organization: NASA Lewis Research Center, Cleveland
References: <bIQKePhq40@astral.msk.su> <1993Jan28.160239.16048@dynas.se>
Date: 1 Feb 93 09:39:32
Lines: 17

In article <1993Jan28.160239.16048@dynas.se> micke@dynas.se (Mikael Hybsch) writes:

   In <bIQKePhq40@astral.msk.su> "Andrew A. Chernov, Black Mage" <ache@astral.msk.su> writes:

   >I just look into new patch00071 of clock.c and found small bug,
   >it don't calculate leap year properly, produce error in 2000 year.

   The rule "year % 4" will work until year 2100, because (2000 % 400) is 0.
   Of course we still want our grand children to be able o use the correct time
   when they play with 386bsd.

Which they will be able to do until 2106, when the <sec> counter
will fill up.

--
Jim McKim  /  Internet: mckim@lerc.nasa.gov			tobacco
Phone: +1 216 891 2283  /  Packet: kb8dcr@kb8dcr.ampr.org	road