Paul Eggert via tz <tz@iana.org> writes:
(By the way, offtime_r is not documented in FreeBSD, so is it present only as a compatibility hack there?)
I held off on documenting it after you rejected the patch.
Getting back to the failure to conform to ISO C and POSIX with respect to the pointers returned by gmtime and localtime - is that a bug that FreeBSD would be willing to fix? If so, that'd simplify things on tzcode's end, if we want to keep roughly in sync.
FreeBSD's current behavior seems more useful to me than what the C standard mandates. I realize it's easier said than done, but I would prefer at least trying to get the standard changed instead.
The DETECT_TZ_CHANGES patch may be of interest to others, but it should be attributed to NetApp, Inc. rather than to FreeBSD. What form should the attribution take? I don't see attribution in the FreeBSD time source code. I assume Guy Harris wrote that so I'll cc him.
I have no idea who Guy Harris is or why you think he's involved. You can see the attribution in the commit message here: https://cgit.freebsd.org/src/commit/?id=ddedf2a11eb20af1ee52cb3da70a57c21904... An earlier version of this patch was posted here and rejected in 2021: https://mm.icann.org/pipermail/tz/2021-September/030335.html DES -- Dag-Erling Smørgrav - des@des.no