From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25781 invoked by alias); 18 Apr 2002 15:26:04 -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 25737 invoked by uid 71); 18 Apr 2002 15:26:02 -0000 Date: Thu, 18 Apr 2002 08:26:00 -0000 Message-ID: <20020418152602.25733.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Mads" Subject: RE: libstdc++/6360: Wrong workaround in char_traits.h - ignore stops on \0xff Reply-To: "Mads" X-SW-Source: 2002-04/txt/msg00934.txt.bz2 List-Id: The following reply was made to PR libstdc++/6360; it has been noted by GNATS. From: "Mads" To: , Cc: Subject: RE: libstdc++/6360: Wrong workaround in char_traits.h - ignore stops on \0xff Date: Thu, 18 Apr 2002 17:23:33 +0200 This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C1E6FE.6E0DE2D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I tried to attach the attached file to the bugreport - but failed. Can it be submitted this way? /Mads > -----Original Message----- > From: gcc-gnats@gcc.gnu.org [mailto:gcc-gnats@gcc.gnu.org] > Sent: Thursday, April 18, 2002 5:06 PM > To: mki@maconomy.dk > Subject: Re: libstdc++/6360: Wrong workaround in > char_traits.h - ignore > stops on \0xff > > > Thank you very much for your problem report. > It has the internal identification `libstdc++/6360'. > The individual assigned to look at your > report is: unassigned. > > >Category: libstdc++ > >Responsible: unassigned > >Synopsis: Wrong workaround in char_traits.h - ignore > stops on \0xff > >Arrival-Date: Thu Apr 18 08:06:00 PDT 2002 > ------=_NextPart_000_0004_01C1E6FE.6E0DE2D0 Content-Type: application/octet-stream; name="IstreamIgnore.cpp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="IstreamIgnore.cpp" #include =0A= #include =0A= =0A= using namespace std;=0A= =0A= int main()=0A= {=0A= stringstream ss("abcd" "\xFF" "1234abcd");=0A= =0A= char c;=0A= ss >> c;=0A= cout << "1st char is: " << c << endl;=0A= =0A= cout << "Skipping 8 chars (i.e. until after the digits)..." << endl;=0A= ss.ignore(8);=0A= =0A= cout << "The rest of the stream contains: '" << ss.rdbuf() << '\'' << = endl;=0A= =0A= return 0;=0A= }=0A= ------=_NextPart_000_0004_01C1E6FE.6E0DE2D0--