Should two-digit years be fatal to a refclock?

Eric S. Raymond esr at thyrsus.com
Mon Feb 4 23:40:25 UTC 2019


Hal Murray <hmurray at megapathdsl.net>:
> What's wrong with just adding 2000 to 2 digit years?  We are in the 2000s now 
> so we don't have to consider the 1900 case any more.  I'd be happy to 
> reconsider dropping support for 2-digit drivers in another 30 years.

Grrr. Smacks of kicking the can down the road rather than attacking the problem
and excluding at least some error cases.

> There is another roll-over consideration we should add to the list.  That's 
> the GPS 1024 week tangle.
> 
> Where should that list live?
>   2 digit years
>   32 bit time_t
>   1024 week GPS

I wrote this a while back:

Rollover issues in time sources: docs/rollover.adoc
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.




More information about the devel mailing list