[tz] Deprecating tzsetwall
philip at trouble.is
Wed Apr 22 07:43:33 UTC 2020
On 2020-04-21 20:10:52 (-0700), Paul Eggert wrote:
>On 4/21/20 7:19 PM, Guy Harris wrote:
>>In practice, it probably won't break anything, but at least one OS *does* document it:
>Yes, I saw that. I just now looked at the FreeBSD tzsetwall source code here:
>and as near as I can tell FreeBSD's tzsetwall (which is derived from
>old tzcode) is also busted because it is a no-op. That is, FreeBSD's
>localtime calls the equivalent of tzset first thing (as POSIX
>requires), and this tzset undoes the effect of any previous tzsetwall.
I have a long-standing todo item to update FreeBSD to newer tzcode.
I won't shed a tear over tzsetwall. :)
Senior Reality Engineer
More information about the tz