[tz] [libc-coord] thread-safe localtime() for an arbitrary timezone

enh enh at google.com
Wed Jun 21 21:41:52 UTC 2023


On Wed, Jun 21, 2023 at 1:33 PM Guy Harris <gharris at sonic.net> wrote:

> On Jun 21, 2023, at 1:17 PM, enh <enh at google.com> wrote:
>
> > NetBSD exposes its `struct _dirdesc` but FreeBSD/OpenBSD don't (though
> they use the same name for the private struct).
>
> Then I vote for doing as FreeBSD and OpenBSD and CupertinoBSD and systems
> using glibc do with DIR, rather than as NetBSD does with DIR, and have
> whatever the handle for a tzdb region is called be a pointer to an opaque
> structure.
>

you were right first time about macOS --- it's in the NetBSD camp (well, it
inlines the struct definition in the typedef, so effectively the same).

i haven't looked at glibc, but musl is in the
FreeBSD/OpenBSD/MountainViewBsdOnLinux camp, so i assume glibc is too :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20230621/fb21bb0f/attachment.htm>


More information about the tz mailing list