diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-18 11:42:21 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-18 11:42:21 +0100 |
commit | 25d476a2b79ab1cfc9c34e162bf5a69159ed6952 (patch) | |
tree | 6c4b05e31fae20e8f099f476d7801d7a3a7cb0ae /modules/c-vasprintf-tests | |
parent | 9b3418df8ef2a9ab70f8dab5790ce3ab729c2233 (diff) | |
download | gnulib-25d476a2b79ab1cfc9c34e162bf5a69159ed6952.tar.gz |
hard-locale: Make multithread-safe.
* lib/hard-locale.h (hard_locale): Move documentation to here.
* lib/hard-locale.c: Don't include <stdlib.h>.
(GLIBC_VERSION): Remove macro.
(hard_locale): Assume that all systems name the "C" and "POSIX" locales
"C" or "POSIX". Invoke setlocale_null instead of setlocale.
* modules/hard-locale (Depends-on): Remove strdup. Add setlocale-null.
(configure.ac): Require gl_FUNC_SETLOCALE_NULL. Set LIB_HARD_LOCALE.
(Link): New section.
* modules/hard-locale-tests (Makefile.am): Link test-hard-locale against
$(LIB_HARD_LOCALE).
Diffstat (limited to 'modules/c-vasprintf-tests')
0 files changed, 0 insertions, 0 deletions