diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-04 20:56:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-04 20:56:12 +0000 |
commit | 21d9e5cf87a4060c730d94c6a2abe4b8c5def47b (patch) | |
tree | 5881edd8aa9b5c57204375f0b87c6391e19183e7 /posix/tst-fnmatch.c | |
parent | Regenerated: autoconf configure.in (diff) | |
download | glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.gz glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.tar.bz2 glibc-21d9e5cf87a4060c730d94c6a2abe4b8c5def47b.zip |
(main): Also set LC_CTYPE category.
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 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; |