Eli Zaretskii wrote:
> I hope the Gnulib folks will add something to Gnulib to allow
> omitting the localtime module in a cleaner fashion.

Does '--avoid=localtime' not work?

> Btw, why does tzsanitize call SetEnvironmentVariable only in the UCRT
> build

Because in my testing with different versions of mingw+msvcrt, the
SetEnvironmentVariable invocation is not needed: The 3 unit tests
pass without it.

> leaving the MSVCRT build with an invalid TZ=$ setting?

That's not what the code does. The code creates a '$Z=something'
string, thereby eliminating the 'TZ=something' setting.

Bruno




Reply via email to