libstdc++/10578: std::getline not stripping \r
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Thu May 1 13:42:00 GMT 2003
Synopsis: std::getline not stripping \r
Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Thu May 1 13:42:14 2003
Responsible-Changed-Why:
Analyzed.
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Thu May 1 13:42:14 2003
State-Changed-Why:
Hi. According to 21.3.7.9,10 getline(istream, string) uses
'\n' as delimiter, whereas windows textfile are terminated
by "\r\n". Therefore, it looks like regex_timer should
use instead getline(istream, string, '\r') on windows
platforms.
Thoughts?
Thanks,
Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10578
More information about the Gcc-bugs
mailing list