[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:
parent
53932a0591
commit
8e5ca76e99
@ -11,7 +11,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libiconv
|
PKG_NAME:=libiconv
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
@ -430,6 +430,7 @@ badf:
|
|||||||
goto end;
|
goto end;
|
||||||
toobig:
|
toobig:
|
||||||
err = E2BIG;
|
err = E2BIG;
|
||||||
|
x = -1;
|
||||||
goto end;
|
goto end;
|
||||||
starved:
|
starved:
|
||||||
err = EINVAL;
|
err = EINVAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user