about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--wcsmbs/Makefile1
-rw-r--r--wcsmbs/tst-mbrtowc2.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b15e3c3587..1ff6ad9425 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-10-15  Ulrich Drepper  <drepper@redhat.com>
 
+	* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
+	* wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
+
 	* posix/regexec.c: Finish prototyping of static functions.
 	* posix/regex_internal.c: Likewise.
 
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index 65de855837..4aab7e8d89 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -67,3 +67,4 @@ CFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2
 tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
 tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata
 tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata
+tst-mbrtowc2-ENV = LOCPATH=$(common-objpfx)localedata
diff --git a/wcsmbs/tst-mbrtowc2.c b/wcsmbs/tst-mbrtowc2.c
index 4314bdb137..67d8e29a0f 100644
--- a/wcsmbs/tst-mbrtowc2.c
+++ b/wcsmbs/tst-mbrtowc2.c
@@ -17,8 +17,8 @@ static struct
   { (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.EUC-JP" },
   { (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.EUC-TW" },
   { (const char[]) { 0xA1, 0xA1 }, 2, "zh_TW.EUC-TW" },
-  { (const char[]) { 0xE3, 0x80, 0x80 }, 3, "en_US.UTF-8" },
-  { (const char[]) { 0xC3, 0xA4 }, 2, "en_US.UTF-8" }
+  { (const char[]) { 0xE3, 0x80, 0x80 }, 3, "de_DE.UTF-8" },
+  { (const char[]) { 0xC3, 0xA4 }, 2, "de_DE.UTF-8" }
 };
 #define ntests (sizeof (tests) / sizeof (tests[0]))