Re: [PATCH] libstdc++: Test for tzdata.zi before fallback version files.

2022-12-24 Thread Iain Sandoe
> On 24 Dec 2022, at 12:25, Andreas Schwab wrote: > > On Dez 24 2022, Iain Sandoe via Gcc-patches wrote: > >> @@ -1083,6 +1078,14 @@ namespace std::chrono >> if (*zif >> hash >> label >> version) >> if (hash == '#' && label == "version") >>return version; >> +#if defined __

Re: [PATCH] libstdc++: Test for tzdata.zi before fallback version files.

2022-12-24 Thread Andreas Schwab
On Dez 24 2022, Iain Sandoe via Gcc-patches wrote: > @@ -1083,6 +1078,14 @@ namespace std::chrono >if (*zif >> hash >> label >> version) > if (hash == '#' && label == "version") > return version; > +#if defined __NetBSD__ > +if (string ver; ifstream(zoneinfo_dir() + "/TZD

Re: [PATCH] libstdc++: Test for tzdata.zi before fallback version files.

2022-12-24 Thread Jonathan Wakely via Gcc-patches
On Sat, 24 Dec 2022, 11:40 Iain Sandoe via Libstdc++, wrote: > I tested this (along with the other posted patches for zoneinfo) using > an installation built from the 2022g release on x86_64-darwin21. Wider > testing will follow. If we are in an installation without the tzdata.zi > then althoug