mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
(main): Also set LC_CTYPE category.
This commit is contained in:
parent
2eb42c7f9d
commit
21d9e5cf87
@ -118,7 +118,8 @@ main (void)
|
|||||||
/* Now run the actual test. */
|
/* Now run the actual test. */
|
||||||
++ntests;
|
++ntests;
|
||||||
|
|
||||||
if (setlocale (LC_COLLATE, locale) == NULL)
|
if (setlocale (LC_COLLATE, locale) == NULL
|
||||||
|
|| setlocale (LC_CTYPE, locale) == NULL)
|
||||||
{
|
{
|
||||||
puts ("*** Cannot set locale");
|
puts ("*** Cannot set locale");
|
||||||
++nfailed;
|
++nfailed;
|
||||||
|
Loading…
Reference in New Issue
Block a user