Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-04-06 14:36:49 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-04-06 14:36:49 +0400
commit2f1769f4311277551864327667e2a713b7daafab (patch)
treee91c79265cb64de5b16cbfdf81fc8efd93e4aa49 /newlib/libc/locale/locale.c
parent115655f1f334d4a65e740246de533b9dfd4bb383 (diff)
* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
Diffstat (limited to 'newlib/libc/locale/locale.c')
-rw-r--r--newlib/libc/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index e93f78021..b5a0ee74c 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -468,7 +468,7 @@ loadlocale(struct _reent *p, int category)
if (!strcmp (charset, "EUCJP") || !strcmp (charset, "eucJP"))
{
strcpy (charset, "EUCJP");
- mbc_max = 2;
+ mbc_max = 3;
#ifdef _MB_CAPABLE
l_wctomb = __eucjp_wctomb;
l_mbtowc = __eucjp_mbtowc;