diff --git a/libs/libiconv/Makefile b/libs/libiconv/Makefile index 8a90ef1d6..be8bc252c 100644 --- a/libs/libiconv/Makefile +++ b/libs/libiconv/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libiconv -PKG_RELEASE:=6 +PKG_RELEASE:=7 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk diff --git a/libs/libiconv/src/iconv.c b/libs/libiconv/src/iconv.c index 8dd5a0cb3..cb4e94775 100644 --- a/libs/libiconv/src/iconv.c +++ b/libs/libiconv/src/iconv.c @@ -430,6 +430,7 @@ badf: goto end; toobig: err = E2BIG; + x = -1; goto end; starved: err = EINVAL;