[PATCH] Make sure mbrtowc can reset internal state after encoding error
Ulrich Drepper
drepper@gmail.com
Wed May 4 21:08:00 GMT 2011
On Wed, May 4, 2011 at 08:44, Andreas Schwab <schwab@redhat.com> wrote:
> 2011-05-04 Andreas Schwab <schwab@redhat.com>
>
> * iconv/loop.c (SINGLE(LOOPFCT)): Reset conversion state after an
> encoding error.
Why? This is deliberately not done. If the conversion routines
report problems and they insist on continuing then they can reset the
state themselves on demand.
More information about the Libc-hacker
mailing list