projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iconv was not returning -1 on most failure
[musl]
/
src
/
locale
/
iconv.c
diff --git
a/src/locale/iconv.c
b/src/locale/iconv.c
index
e1b00de
..
4ef1477
100644
(file)
--- a/
src/locale/iconv.c
+++ b/
src/locale/iconv.c
@@
-559,9
+559,11
@@
ilseq:
goto end;
toobig:
err = E2BIG;
+ x = -1;
goto end;
starved:
err = EINVAL;
+ x = -1;
end:
errno = err;
return x;