|
Message-ID: <CAJgzZorC4OtadUjujM_qDAKbDwUBpB23mEonM2dQr7A+Jx4S3w@mail.gmail.com>
Date: Wed, 21 Jun 2023 14:41:52 -0700
From: enh <enh@...gle.com>
To: Guy Harris <gharris@...ic.net>
Cc: Paul Eggert <eggert@...ucla.edu>, Time zone mailing list <tz@...a.org>, libc-coord@...ts.openwall.com
Subject: Re: [tz] thread-safe localtime() for an arbitrary timezone
On Wed, Jun 21, 2023 at 1:33 PM Guy Harris <gharris@...ic.net> wrote:
> On Jun 21, 2023, at 1:17 PM, enh <enh@...gle.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 :-)
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.