mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* lib/setlocale.c (rpl_setlocale): On native Windows, when setlocale succeeds but sets LC_CTYPE to "C", report a failure. * tests/test-setlocale2.sh: New file. * tests/test-setlocale2.c: New file. * modules/setlocale-tests (Files): Add the new files. (Makefile.am): Enable test-setlocale2.sh test. * doc/posix-functions/setlocale.texi: Mention workaround.
30 lines
555 B
Plaintext
30 lines
555 B
Plaintext
Files:
|
|
tests/test-setlocale1.sh
|
|
tests/test-setlocale1.c
|
|
tests/test-setlocale2.sh
|
|
tests/test-setlocale2.c
|
|
tests/signature.h
|
|
tests/macros.h
|
|
m4/locale-fr.m4
|
|
m4/locale-ja.m4
|
|
m4/locale-zh.m4
|
|
m4/codeset.m4
|
|
|
|
Depends-on:
|
|
strdup
|
|
|
|
configure.ac:
|
|
gt_LOCALE_FR
|
|
gt_LOCALE_FR_UTF8
|
|
gt_LOCALE_JA
|
|
gt_LOCALE_ZH_CN
|
|
|
|
Makefile.am:
|
|
TESTS += test-setlocale1.sh test-setlocale2.sh
|
|
TESTS_ENVIRONMENT += \
|
|
LOCALE_FR='@LOCALE_FR@' \
|
|
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
|
|
LOCALE_JA='@LOCALE_JA@' \
|
|
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
|
|
check_PROGRAMS += test-setlocale1 test-setlocale2
|