digitalmars.D.bugs - [Issue 10116] New: stdio.File.byLine repeats last line forever, readln(ref C[],R) returns bad data
- d-bugmail puremagic.com (22/22) May 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10116
- d-bugmail puremagic.com (6/6) May 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10116
- d-bugmail puremagic.com (11/11) May 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10116
http://d.puremagic.com/issues/show_bug.cgi?id=10116 Summary: stdio.File.byLine repeats last line forever, readln(ref C[],R) returns bad data Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: fw..vdijk gmail.com byLine expects readln to return with an empty buffer on end-of-stream, which readln does not do for wchar and dchar, so byLine!(x,wchar) and byLine!(x,dchar) repeat forever. Also, the readln variant that takes a terminator range returns incorrect concatenations of lines because of the same issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10116 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10116 fw..vdijk gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED PR was merged into master as 14a4b92 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 20 2013