January 24, 2007 [Issue 881] New: std.stream.Stream.readLine is broken for non-seekable sources with DOS line ends | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation