about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-06-15 17:27:48 -0700
committerPetr Baudis <pasky@suse.cz>2009-06-16 12:21:28 +0200
commit4da50f4b075b4ed9c75f072e1e26deee720fb8bf (patch)
tree37ef905a82fd1cda01ce0634efd1e79ad6cdd8b4
parente80cfa694185fc970ca3804660a903b28173cd52 (diff)
downloadglibc-4da50f4b075b4ed9c75f072e1e26deee720fb8bf.tar.gz
glibc-4da50f4b075b4ed9c75f072e1e26deee720fb8bf.tar.xz
glibc-4da50f4b075b4ed9c75f072e1e26deee720fb8bf.zip
(do_test): Use de_DE.UTF-8 as locale name.
(cherry picked from commit 4155d926336ba38428a98359bf0908453ff83625)
-rw-r--r--ChangeLog4
-rw-r--r--libio/tst-fgetwc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c77ed82e6d..f7ac9ecb4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-15  Ulrich Drepper  <drepper@redhat.com>
 
+	[BZ #10196]
+	* libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name.
+	Patch by Bruce Dubbs <bdubbs@linuxfromscratch.org>.
+
 	* time/tzfile.c (__tzfile_read): Correct computation of tzspec_len.
 
 	[BZ #10211]
diff --git a/libio/tst-fgetwc.c b/libio/tst-fgetwc.c
index 9ccfeb1526..06e4a424ff 100644
--- a/libio/tst-fgetwc.c
+++ b/libio/tst-fgetwc.c
@@ -6,7 +6,7 @@
 static int
 do_test (void)
 {
-  if (setlocale (LC_ALL, "de_DE.utf8") == NULL)
+  if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
     {
       puts ("setlocale failed");
       return 1;