(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. */
|
||||
++ntests;
|
||||
|
||||
if (setlocale (LC_COLLATE, locale) == NULL)
|
||||
if (setlocale (LC_COLLATE, locale) == NULL
|
||||
|| setlocale (LC_CTYPE, locale) == NULL)
|
||||
{
|
||||
puts ("*** Cannot set locale");
|
||||
++nfailed;
|
||||
|
Loading…
Reference in New Issue
Block a user