diff options
Diffstat (limited to 'posix/tst-fnmatch.c')
-rw-r--r-- | posix/tst-fnmatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/tst-fnmatch.c b/posix/tst-fnmatch.c index b582a51..7193615 100644 --- a/posix/tst-fnmatch.c +++ b/posix/tst-fnmatch.c @@ -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; |