From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28308 invoked by alias); 3 Mar 2003 10:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28245 invoked by uid 71); 3 Mar 2003 10:46:02 -0000 Date: Mon, 03 Mar 2003 10:46:00 -0000 Message-ID: <20030303104602.28232.qmail@sources.redhat.com> To: paolo@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: =?iso-8859-1?Q?P=E9tur_Run=F3lfsson?= Subject: RE: libstdc++/9024: Input fails after call to basic_filebuf<>::pubsetbuf(0, 0) Reply-To: =?iso-8859-1?Q?P=E9tur_Run=F3lfsson?= X-SW-Source: 2003-03/txt/msg00068.txt.bz2 List-Id: The following reply was made to PR libstdc++/9024; it has been noted by GNATS. From: =?iso-8859-1?Q?P=E9tur_Run=F3lfsson?= To: "Paolo Carlini" , , , , Cc: "bkoz" Subject: RE: libstdc++/9024: Input fails after call to basic_filebuf<>::pubsetbuf(0, 0) Date: Mon, 3 Mar 2003 10:38:22 -0000 > A memo: while working on a fix for libstdc++/9423 (quite easy=20 > by itself), > finally seems obvious how to fix 9024: in _M_underflow_common add a > separate case for !__testget && !__testinit, which simply calls > _M_file.xsgetn(&__c, 1) and returns __ret =3D=20 > traits_type::to_int_type(__c). Does this work when codecvt::encoding() !=3D 1 ? Petur