http://d.puremagic.com/issues/show_bug.cgi?id=10328


Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #2 from Steven Schveighoffer <[email protected]> 2013-06-11 
10:29:26 PDT ---
This is intended behavior.  std.stdio.stdout is buffered, and the lines in your
code have not attempted to write to the file descriptor yet.

If you add:

std.stdio.stdout.flush();

then it fails with an exception as expected.  Note that C (and by using C's
stdio as it's base, D also) decides whether to flush after newline depending on
whether the file descriptor is a console or not.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to