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-03-24 19:56:33 +0300
committerCorinna Vinschen <corinna@vinschen.de>2009-03-24 19:56:33 +0300
commit62e51f09f9ba90e7870ebe710ee8d87ff8fce49a (patch)
tree857dfa07878fea598955244c8924e9a030ba8551 /newlib/libc/locale
parentba8f298cbca66df6f0df6573ec7756247173df16 (diff)
* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
for "eucJP" charset support.
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r--newlib/libc/locale/locale.c1
1 files changed, 1 insertions, 0 deletions
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");