(main): Also set LC_CTYPE category.

This commit is contained in:
Ulrich Drepper 2000-07-04 20:56:12 +00:00
parent 2eb42c7f9d
commit 21d9e5cf87

View File

@ -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;