[tz] suggestions for potential code improvements?

Jonathan Lennox lennox at cs.columbia.edu
Wed Jul 29 14:52:53 UTC 2015


On Tuesday, July 28 2015, "Paul Eggert" wrote to "Kees Dekker, Time zone mailing list" saying:

> +    date now sets the time of day via the POSIX clock_settime function
> +    instead of via the older nonstandard settimeofday function.

clock_settime isn't actually that portable; notably, Mac OS X doesn't
implement it.  (It was part of the optional "Timers" extension to Posix in
the Posix 2008 release, only making it into the core specification in the
2013 release.)

-- 
Jonathan Lennox
lennox at cs.columbia.edu


More information about the tz mailing list