[ntp:hackers] Leap second support in versions prior to 4.2.6

Warner Losh imp at bsdimp.com
Mon Jun 4 17:30:46 UTC 2012


On Jun 4, 2012, at 10:53 AM, Mike S wrote:

> On 6/4/2012 11:29 AM, Greg Dowd wrote:
>> My bigger regret with leap seconds is the loss of monotonicity that
>> happened somewhere along the way.
> 
> ???
> 
> Leap seconds (both insertions and deletions) are monotonic. If you're doing it right, it goes:
> 
> 23:59:59
> 23:59:60
> 00:00:00
> 
> I think you're complaining about systems which don't do it right, not leap seconds themselves.

Yes.  Leap seconds with their non-uniform radix is a poor match to software that assumes a uniform radix...

Warner




More information about the hackers mailing list