[tz] small bug fix and ugliness concentration
Paul Eggert
eggert at cs.ucla.edu
Tue Nov 11 23:01:40 UTC 2014
Christos Zoulas wrote:
> There there were 2 copies of the USG_COMPAT/ALTZONE ugliness and one
> was incomplete (did not set daylight).
It wasn't incomplete, as there is no need to set 'daylight' for a particular
time stamp. 'daylight' is a property of the entire time zone setting, not of
one particular time stamp using that setting.
That being said, your suggestion simplifies the code, so I fixed it up and
applied the attached proposed patch. I noticed a related tzalloc bug while
looking into this, and will follow up with another proposed patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-to-centralize-the-setting-of-tzname.patch
Type: text/x-diff
Size: 4150 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20141111/bb03f882/attachment.patch>
More information about the tz
mailing list