about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-06-15 17:27:48 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-15 17:27:48 -0700
commit4155d926336ba38428a98359bf0908453ff83625 (patch)
tree04a05c38ca1d2873118cf83994e199695e2344ff
parent48dcd0ba84c5a0fa08a0bd000b24af07d20dce44 (diff)
downloadglibc-4155d926336ba38428a98359bf0908453ff83625.tar.gz
glibc-4155d926336ba38428a98359bf0908453ff83625.tar.xz
glibc-4155d926336ba38428a98359bf0908453ff83625.zip
(do_test): Use de_DE.UTF-8 as locale name.
-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 6c97032c14..402b5cb3e2 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>.
+
 	[BZ #10217]
 	* stdlib/abort.c: Define variable __abort_msg.
 	* stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version.
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;