about summary refs log tree commit diff
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
parent2eb42c7f9d4a7421a7d273ca0b4e10e30e70450c (diff)
downloadglibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.gz
glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.xz
glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.zip
(main): Also set LC_CTYPE category.
-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 b582a51889..719361519c 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;