[Issue 881] New: std.stream.Stream.readLine is broken for non-seekable sources with DOS line ends

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 24 00:00:59 PST 2007


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 at digitalmars.com
        ReportedBy: thomas-dloop at 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.


-- 



More information about the Digitalmars-d-bugs mailing list