[tz] suggestions for potential code improvements?

Paul Eggert eggert at cs.ucla.edu
Wed Jul 29 17:55:02 UTC 2015

Jonathan Lennox wrote:
> clock_settime isn't actually that portable; notably, Mac OS X doesn't
> implement it.

Ouch, thanks, I didn't know that.  Let's simplify things further and remove all 
the code that tries to set the date.  Setting the date is not germane to the tz 
project; the code is there only because it was in 4.2BSD, and that is not a 
particularly strong reason nowadays.  Proposed patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-support-for-setting-the-date.patch
Type: text/x-diff
Size: 14909 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20150729/af533de7/0001-Remove-support-for-setting-the-date-0001.patch>

More information about the tz mailing list