X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flocale%2Ficonv.c;h=4ef1477f83a11c5607d81a54ad7a2cb1412c3338;hp=e1b00de370214e5412cae448f27775d368071c1d;hb=2f0c415cebfedff0e4eb49b743a591a4c15d454e;hpb=58483f0afdc440edf992ff75cb3209a44f624776 diff --git a/src/locale/iconv.c b/src/locale/iconv.c index e1b00de3..4ef1477f 100644 --- 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;