[tz] Wrong behaviour with truncated TZif files

Paul Eggert eggert at cs.ucla.edu
Fri May 27 01:08:29 UTC 2022


On 5/26/22 11:23, Almaz Mingaleev wrote:
> settzname function [1] calls update_tzname_etc with all time types and
> all transitions. Shouldn't it be called only for specified local time only
> i.e.
> where ttunspecified(sp, ...) returns false?

Yes, that sounds right. Thanks for reporting this. Proposed patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Prefer-specified-time-for-vestigial-variables.patch
Type: text/x-patch
Size: 3490 bytes
Desc: not available
URL: <https://mm.icann.org/pipermail/tz/attachments/20220526/a086351e/0001-Prefer-specified-time-for-vestigial-variables.patch>


More information about the tz mailing list