* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2009-04-06  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP. | ||||||
|  |  | ||||||
| 2009-04-04  Corinna Vinschen  <corinna@vinschen.de> | 2009-04-04  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* libc/stdlib/wcstombs.c: Fix datatypes in documentation. | 	* libc/stdlib/wcstombs.c: Fix datatypes in documentation. | ||||||
|   | |||||||
| @@ -468,7 +468,7 @@ loadlocale(struct _reent *p, int category) | |||||||
|       if (!strcmp (charset, "EUCJP") || !strcmp (charset, "eucJP")) |       if (!strcmp (charset, "EUCJP") || !strcmp (charset, "eucJP")) | ||||||
| 	{ | 	{ | ||||||
| 	  strcpy (charset, "EUCJP"); | 	  strcpy (charset, "EUCJP"); | ||||||
| 	  mbc_max = 2; | 	  mbc_max = 3; | ||||||
| #ifdef _MB_CAPABLE | #ifdef _MB_CAPABLE | ||||||
| 	  l_wctomb = __eucjp_wctomb; | 	  l_wctomb = __eucjp_wctomb; | ||||||
| 	  l_mbtowc = __eucjp_mbtowc; | 	  l_mbtowc = __eucjp_mbtowc; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user