diff options
| author | Rich Felker <dalias@aerifal.cx> | 2012-04-21 14:46:40 -0400 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2012-04-21 14:46:40 -0400 | 
| commit | 80d7859f32c11826c24490cac8a8be48f737cee0 (patch) | |
| tree | 29a1d8c517a3c2c6028a52ef1255120c33e0b8fb | |
| parent | 77731d0ec16027cb0e3a593d5dd9bb906932303e (diff) | |
| download | musl-80d7859f32c11826c24490cac8a8be48f737cee0.tar.gz | |
fix major breakage in iconv, bogus rejecting of dest charsets
| -rw-r--r-- | src/locale/iconv.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/locale/iconv.c b/src/locale/iconv.c index a7d4fd9f..30a457f3 100644 --- a/src/locale/iconv.c +++ b/src/locale/iconv.c @@ -94,7 +94,7 @@ iconv_t iconv_open(const char *to, const char *from)  	if ((t = find_charmap(to))==-1  	 || (f = find_charmap(from))==-1 -	 || (t >= 0320)) { +	 || (charmaps[t] >= 0320)) {  		errno = EINVAL;  		return (iconv_t)-1;  	} | 
