]> git.ipfire.org Git - thirdparty/glibc.git/commit
iconv: restore verbosity with unrecognized encoding names (bug 30694)
authorAndreas Schwab <schwab@suse.de>
Tue, 1 Aug 2023 15:01:37 +0000 (17:01 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 15 Sep 2023 21:55:01 +0000 (23:55 +0200)
commit63250e9c571314b6daa2c949ea0af335ee766751
tree20cc7d179156bdd00b55d37d209e31f54a07effb
parent00ae4f10b504bc4564e9f22f00907093f1ab9338
iconv: restore verbosity with unrecognized encoding names (bug 30694)

Commit 91927b7c76 ("Rewrite iconv option parsing [BZ #19519]") changed the
iconv program to call __gconv_open directly instead of the iconv_open
wrapper, but the former does not set errno.  Update the caller to
interpret the return codes like iconv_open does.

(cherry picked from commit fc72b6d7d818ab2868920af956d1542d03342a4d)
iconv/iconv_prog.c