http://d.puremagic.com/issues/show_bug.cgi?id=3425
Jay Norwood <j...@prismnet.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j...@prismnet.com --- Comment #2 from Jay Norwood <j...@prismnet.com> 2011-10-12 20:03:13 PDT --- You can work around the issue by testing for eof on the first line in the loop. This works with no error. foreach(elem; stdin.byLine()) { if (stdin.eof()) break; writeln(elem); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------