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

Guy Harris gharris at sonic.net
Wed Jun 21 07:04:47 UTC 2023


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.


More information about the tz mailing list