aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-04 20:56:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-04 20:56:12 +0000
commit21d9e5cf87a4060c730d94c6a2abe4b8c5def47b (patch)
tree5881edd8aa9b5c57204375f0b87c6391e19183e7 /posix
parent2eb42c7f9d4a7421a7d273ca0b4e10e30e70450c (diff)
downloadglibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.zip
glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.gz
glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.bz2
(main): Also set LC_CTYPE category.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-fnmatch.c3
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;