musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/locale/iconv.c 2
1 files changed, 2 insertions, 0 deletions
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;
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月03日 07:45:16 +0000

AltStyle によって変換されたページ (->オリジナル) /