]> git.ipfire.org Git - thirdparty/gettext.git/commit
Update after gnulib changed.
authorBruno Haible <bruno@clisp.org>
Mon, 20 May 2019 19:26:30 +0000 (21:26 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 08:05:21 +0000 (10:05 +0200)
commit4131b50af8443469ec35469d9eab7e873db24239
treee3643e8e127526d6bbe6329a5dbfb6c3c288746a
parente4ff2a49116afe6bfeef8e94837fd9be865b0f74
Update after gnulib changed.

* gettext-runtime/intl/setlocale.c (search): Optimize away a redundant strcmp()
invocation.
(locales_with_principal_territory): New array.
(langcmp, get_main_locale_with_same_language): New functions.
(locales_with_principal_language): New array.
(terrcmp, get_main_locale_with_same_territory): New functions.
(rpl_setlocale): When setlocale_single failed, try again with a locale that is
more likely to exist. Don't warn if the environment variable SETLOCALE_VERBOSE
is not set.
gettext-runtime/intl/setlocale.c