This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/10578: std::getline not stripping \r
- From: bdawes at acm dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 1 May 2003 12:55:03 -0000
- Subject: libstdc++/10578: std::getline not stripping \r
- Reply-to: bdawes at acm dot org
>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: