* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.

* wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
This commit is contained in:
Ulrich Drepper 2005-10-15 15:38:52 +00:00
parent 1ba81cea27
commit ebb58ba3c2
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-10-15 Ulrich Drepper <drepper@redhat.com> 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/regexec.c: Finish prototyping of static functions.
* posix/regex_internal.c: Likewise. * posix/regex_internal.c: Likewise.

View File

@ -67,3 +67,4 @@ CFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2
tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata
tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata
tst-mbrtowc2-ENV = LOCPATH=$(common-objpfx)localedata

View File

@ -17,8 +17,8 @@ static struct
{ (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.EUC-JP" }, { (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.EUC-JP" },
{ (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.EUC-TW" }, { (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.EUC-TW" },
{ (const char[]) { 0xA1, 0xA1 }, 2, "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[]) { 0xE3, 0x80, 0x80 }, 3, "de_DE.UTF-8" },
{ (const char[]) { 0xC3, 0xA4 }, 2, "en_US.UTF-8" } { (const char[]) { 0xC3, 0xA4 }, 2, "de_DE.UTF-8" }
}; };
#define ntests (sizeof (tests) / sizeof (tests[0])) #define ntests (sizeof (tests) / sizeof (tests[0]))