[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090107011713.GA27527@mail.local.tull.net>
Date: Wed, 7 Jan 2009 12:17:13 +1100
From: Nick Andrew <nick@...k-andrew.net>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: David Newall <davidn@...idnewall.com>,
Linas Vepstas <linasvepstas@...il.com>, david@...g.hm,
Kyle Moffett <kyle@...fetthome.net>,
Ben Goodger <goodgerster@...il.com>,
Robert Hancock <hancockr@...w.ca>,
linux-kernel@...r.kernel.org,
"Jeffrey J. Kosowsky" <jeff@...owsky.org>,
MentalMooMan <slashdot@...eshallam.info>,
Travis Crump <pretzalz@...hhouse.org>, burdell@...ntheinter.net
Subject: Re: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009
On Tue, Jan 06, 2009 at 09:40:58AM +0000, Alan Cox wrote:
> > UTC equivalent to conversion on the naive basis that leap seconds are ignored and all
> > years divisible by 4 are leap years. This value is not the same as the actual number of
> > seconds between the time and the Epoch, because of leap seconds and because clocks are not
> > required to be synchronized to a standard reference.
>
> I'm not sure what you are quoting from but it is out of date on the
> subject of leap years.
"man 2 time" on Debian Lenny. The treatment of leap years looks ridiculous, but
within the context of a 32-bit time_t, all divisible-by-4 years between 1901 and
2038 are leap years. It's a bit of a problem for 64-bit time_t though.
Nick.
--
PGP Key ID = 0x418487E7 http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A 67E3 6266 6EB9 4184 87E7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists