]> 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, 20 May 2019 21:28:10 +0000 (23:28 +0200)
commitec0e6b307456ceab352669ae6bccca9702108753
treeac741ec11e3e2aa2d2805153bbcbb9781fad02af
parentd92828fdcb00aa66e069549434dd9b6c54f42445
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