diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a2ddff936..449a7c7d8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-03-24 Corinna Vinschen + + * libc/locale/locale.c (loadlocale): Allow charset starting with 'e' + for "eucJP" charset support. + 2009-03-24 Jeff Johnston * libc/include/sys/errno.h: Move EFTYPE to general usage because diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index d3644eb8a..ab234f058 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -463,6 +463,7 @@ loadlocale(struct _reent *p, int category) #endif break; case 'E': + case 'e': if (strcmp (charset, "EUCJP") && strcmp (charset, "eucJP")) return NULL; strcpy (charset, "EUCJP");