summaryrefslogtreecommitdiff
path: root/tests/test-setlocale_null.c
Commit message (Collapse)AuthorAgeFilesLines
* setlocale-null: Rename LIB_SETLOCALE_NULL to SETLOCALE_NULL_LIB.Bruno Haible2023-01-071-1/+1
| | | | | | * m4/setlocale_null.m4: Rename LIB_SETLOCALE_NULL to SETLOCALE_NULL_LIB. All uses changed. * NEWS: Mention the change
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-051-1/+1
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* setlocale-null: Make API more useful.Bruno Haible2019-12-181-3/+3
| | | | | | | | | | | | | | | | * lib/locale.in.h (setlocale_null_r): Renamed from setlocale_null. All callers changed. (setlocale_null): New declaration. * lib/setlocale_null.c (setlocale_null_androidfix): New function, extracted from setlocale_null_unlocked. (setlocale_null_unlocked): Invoke it. (setlocale_null_r): Renamed from setlocale_null. (setlocale_null): New function, extracted from setlocale_mtsafe in setlocale.c. * lib/setlocale.c: Don't include <errno.h>. (setlocale_mtsafe): Invoke setlocale_null. * lib/setlocale-lock.c: Update comments. * doc/posix-functions/setlocale.texi: Mention both functions.
* setlocale-null: Add tests.Bruno Haible2019-12-151-0/+32
* tests/test-setlocale_null.c: New file. * tests/test-setlocale_null-one.c: New file. * tests/test-setlocale_null-all.c: New file. * modules/setlocale-null-tests: New file.