* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
for "eucJP" charset support.
This commit is contained in:
parent
ba8f298cbc
commit
62e51f09f9
|
@ -1,3 +1,8 @@
|
||||||
|
2009-03-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
|
||||||
|
for "eucJP" charset support.
|
||||||
|
|
||||||
2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
|
2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/errno.h: Move EFTYPE to general usage because
|
* libc/include/sys/errno.h: Move EFTYPE to general usage because
|
||||||
|
|
|
@ -463,6 +463,7 @@ loadlocale(struct _reent *p, int category)
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 'E':
|
case 'E':
|
||||||
|
case 'e':
|
||||||
if (strcmp (charset, "EUCJP") && strcmp (charset, "eucJP"))
|
if (strcmp (charset, "EUCJP") && strcmp (charset, "eucJP"))
|
||||||
return NULL;
|
return NULL;
|
||||||
strcpy (charset, "EUCJP");
|
strcpy (charset, "EUCJP");
|
||||||
|
|
Loading…
Reference in New Issue