From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21759 invoked by alias); 4 May 2011 21:08:31 -0000 Received: (qmail 21739 invoked by uid 22791); 4 May 2011 21:08:30 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 May 2011 21:08:16 +0000 Received: by pzk4 with SMTP id 4so956576pzk.0 for ; Wed, 04 May 2011 14:08:16 -0700 (PDT) Received: by 10.68.15.101 with SMTP id w5mr2073310pbc.134.1304543296157; Wed, 04 May 2011 14:08:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.40.1 with HTTP; Wed, 4 May 2011 14:07:56 -0700 (PDT) In-Reply-To: References: From: Ulrich Drepper Date: Wed, 04 May 2011 21:08:00 -0000 Message-ID: Subject: Re: [PATCH] Make sure mbrtowc can reset internal state after encoding error To: Andreas Schwab Cc: libc-hacker@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00002.txt.bz2 On Wed, May 4, 2011 at 08:44, Andreas Schwab wrote: > 2011-05-04 =C2=A0Andreas Schwab =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0* iconv/loop.c (SINGLE(LOOPFCT)): Reset conver= sion state after an > =C2=A0 =C2=A0 =C2=A0 =C2=A0encoding 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.