[packages] libiconv: fix iconv() return value in E2BIG error case, fixes g_convert_with_iconv() and related operations

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30014 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-02-03 15:43:33 +00:00
parent 53932a0591
commit 8e5ca76e99
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -430,6 +430,7 @@ badf:
goto end;
toobig:
err = E2BIG;
x = -1;
goto end;
starved:
err = EINVAL;