[PATCH 2/2] iconv_prog: Track if invalid sequences were seen.

Joseph Myers joseph@codesourcery.com
Mon Aug 10 14:31:00 GMT 2015


On Mon, 10 Aug 2015, Benjamin Herr wrote:

> As far as I can tell, Posix requires that "The presence or absence of -c
> shall not affect the exit status of iconv." iconv_prog needs to be more
> vigilant to not clobber the variable tracking whether it has skipped an
> invalid input sequence.

It sounds like there was a bug here that was user-visible in releases.  If 
so, there should be a bug report filed in Bugzilla for it, and the fix 
should add a testcase that fails before and passes after the fix.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list