This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]