digitalmars.D.bugs - [Issue 881] New: std.stream.Stream.readLine is broken for non-seekable sources with DOS line ends
- d-bugmail puremagic.com (17/17) Jan 24 2007 http://d.puremagic.com/issues/show_bug.cgi?id=881
http://d.puremagic.com/issues/show_bug.cgi?id=881
Summary: std.stream.Stream.readLine is broken for non-seekable
sources with DOS line ends
Product: D
Version: 1.00
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Phobos
AssignedTo: bugzilla digitalmars.com
ReportedBy: thomas-dloop kuehne.cn
If the input isn't seekable stream.d:482 sets prevCr = true but 484-487 don't
handle prevCr thus causing an additional empty line to be returned for each
encountered \r\n line end.
--
Jan 24 2007








d-bugmail puremagic.com