On Tuesday, 2 June 2015 at 21:35:54 UTC, Steven Schveighoffer
wrote:
OK. I can reproduce now with all 3 test cases. I tweaked the
line sizes a little bit. Noting that it fails on 2.067.0 and
2.067.1 on Linux x64, but passes just fine on OSX same versions.
FWIW, you don't need anything except foreach(line;
somefile.byLine()) {} as your main code.
I think the correct fix is to fix readln as outlined in
Ranier's pull request:
https://github.com/D-Programming-Language/phobos/pull/2794
But that seems to be stalled. I will at least try to fix the
assumeSafeAppend calls so they are not crashing.
-Steve
So...in the meantime, I'll just pad my input I guess?