fix major breakage in iconv, bogus rejecting of dest charsets
This commit is contained in:
parent
77731d0ec1
commit
80d7859f32
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue