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

enh enh at google.com
Wed Jun 21 19:44:26 UTC 2023


On Wed, Jun 21, 2023 at 12:05 AM Guy Harris <gharris at sonic.net> wrote:

> On Jun 20, 2023, at 11:27 PM, Guy Harris via tz <tz at iana.org> wrote:
>
> > On Jun 20, 2023, at 2:00 PM, enh via tz <tz at iana.org> wrote:
> >
> >> it's actually the openbsd strptime.c that's unhappy:
> >> ```
> >> In file included from bionic/libc/tzcode/strptime.c:40:
> >
> > I see the string "bionic" rather than "openbsd" there, so that appears
> to be *Bionic's* strptime.c that's unhappy.  Is there a requirement that
> Bionic's strptime.c be unchanged from OpenBSD's?
>
> In fact, the openbsd strptime.c, as of CVS revision 1.32:
>
>
> https://cvsweb.openbsd.org/src/lib/libc/time/strptime.c?rev=1.31&content-type=text/x-cvsweb-markup
>
> does *not* contain the line
>
>         typedef struct state *timezone_t;
>
> so it appears that it's the *Bionic* strptime.c that's unhappy.


(this is answered on the other thread: it's tz's "private.h" that contains
that. i'm afraid without reading _both_ threads, the tz@ thread is going to
be confusing.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20230621/275ec88c/attachment.htm>


More information about the tz mailing list