[tz] Deprecating tzsetwall

Paul Eggert eggert at cs.ucla.edu
Wed Apr 22 03:10:52 UTC 2020

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.

More information about the tz mailing list