Phil W Lee wrote:
Martin Burnicki <martin.burni...@meinberg.de> considered Tue, 16 Dec
2014 12:48:57 +0100 the perfect time to write:
However, there is an important limitation: the tzdata version of the
leap second file is missing an expiration date, so even if a program
like ntpd could use this file directly it would never know if no more
leap second has been scheduled after the last one mentioned in this
file, or if the file just hasn't been updated recently enough.

If it compared the file it has with the one available from tzdata, it
could see if there was a difference - it's not exactly huge.
Even better would be if a checksum or version number was available as
well, so that could just be compared to the current one, and a new one
only downloaded if required.

This presumes you have access to version which is known to be current, but fails if it is not the case. See also my other reply.

Martin

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to