]> Savannah Git Hosting - gnulib.git/commit
localename: Notice setlocale() invocations on more platforms.
authorBruno Haible <bruno@clisp.org>
Thu, 15 Feb 2024 00:33:51 +0000 (01:33 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 15 Feb 2024 00:33:51 +0000 (01:33 +0100)
commit9c99c0b81f7c384d94f2ae941844e2cba56a07e5
tree83e694739783fcf404d743a56ba7d91e59fe5218
parenta9283f71e0c6aa582be41dc4f154481303d6bc1f
localename: Notice setlocale() invocations on more platforms.

* lib/localename.c (HAVE_LOCALE_NULL): Define also on musl, FreeBSD,
NetBSD, Solaris, Haiku.
* modules/localename (Files): Add m4/musl.m4.
(configure.ac): Invoke gl_MUSL_LIBC.
* tests/test-localename.c (C_CANONICALIZED): New macro, for Haiku.
(is_default): New function, for musl libc and Haiku.
(test_locale_name, test_locale_name_posix): Use these definitions.
* modules/localename-tests (Files): Add m4/musl.m4.
(configure.ac): Invoke gl_MUSL_LIBC.
ChangeLog
lib/localename.c
modules/localename
modules/localename-tests
tests/test-localename.c