From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31224 invoked by alias); 1 May 2003 12:56:00 -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 31205 invoked by uid 71); 1 May 2003 12:56:00 -0000 Resent-Date: 1 May 2003 12:56:00 -0000 Resent-Message-ID: <20030501125600.31203.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, bdawes@acm.org Received: (qmail 31040 invoked by uid 48); 1 May 2003 12:55:03 -0000 Message-Id: <20030501125503.31039.qmail@sources.redhat.com> Date: Thu, 01 May 2003 12:56:00 -0000 From: bdawes@acm.org Reply-To: bdawes@acm.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/10578: std::getline not stripping \r X-SW-Source: 2003-05/txt/msg00018.txt.bz2 List-Id: >Number: 10578 >Category: libstdc++ >Synopsis: std::getline not stripping \r >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 01 12:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Beman Dawes, John Maddock >Release: unknown-1.0 >Organization: >Environment: GCC 3.2.3 on Win32 >Description: Beman Dawes reports: I've just upgraded GCC from 3.2.1 to 3.2.3 for Win32 regression testing, and regex_timer had to be killed manually because it was looping. Same results on a second machine. John Maddock reports: I have the same problem: it appears to be a bug in libg++ std::getline: the lines are being returned with a trailing \r on the end of each line - stripping all the \r's from the input text file used by that test fixes the issue. [This is the Boost regex_timer regression test being discussed.] --Beman >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: