* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
for "eucJP" charset support.
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
| 	* libc/include/sys/errno.h: Move EFTYPE to general usage because | ||||
|   | ||||
| @@ -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"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user