On 15.03.2018 19:56, Eli Zaretskii wrote:
Cc: bug-gnulib@gnu.org
From: LRN
Date: Thu, 15 Mar 2018 19:45:11 +0300

gl_locale_name() calls gl_locale_name_thread(), which returns the result of
setlocale(category, NULL) for all supported categories (i.e. for everything
except LC_MESSAGES; it returns NULL for those). If it returns NULL, then the
rest of it is the same as what gettext does (posix, then default).

Gettext (or any other program) shouldn't be calling setlocale with
LC_MESSAGES on MS-Windows.


gettext (or any other program) calls gnulib gl_locale_name() with LC_MESSAGES, which calls gnulib gl_locale_name_thread() with LC_MESSAGES, which does not call CRT setlocale() with LC_MESSAGES, because it shouldn't be calling setlocale with LC_MESSAGES on MS-Windows. So that's not an issue here.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to