Re: Trying to use AUTHOR_DATE
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- May 2, 2005, 22:26 UTC
- Message-ID
- <4276A906.2040403@zytor.com>
- In-Reply-To
- <m3wtqhe0t6.fsf@defiant.localdomain>
Krzysztof Halasa wrote:
Show 10 quoted lines
> David Woodhouse <dwmw2@infradead.org> writes: > >>During a leap second, won't tm_sec be 60? > > You could rather have two 59th seconds. Or the "seconds" could be, say, > 0.1% longer for 1000 s. Depends on synchronization mechanism. > > I think 60th second could only be possible with leap-seconds aware > things (NTP, GPS, reference radio clocks etc.). >
It is, but you can't assume you don't have that. Either way, you just treat it the same as the following second.
-hpa