this broke most uses of iconv in real-world programs, especially glib's iconv wrappers.
@@ -559,9 +559,11 @@ ilseq:
goto end;
toobig:
err = E2BIG;
+ x = -1;
starved:
err = EINVAL;
end:
errno = err;
return x;