writeln() assertion failed in hybrid x64

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 4 08:25:49 PDT 2014


On Thu, 04 Sep 2014 15:10:21 +0000
"Jorge A. S. via Digitalmars-d-learn"
<digitalmars-d-learn at puremagic.com> wrote:

> In one of the specializations of the write function in the 
> std.stdio (the call site that you showed in your post) no check 
> for closed stdout (when stdout._p is null) is done. I can't say 
> if this is a bug in the write function or the desired behaviour 
> (I'm a novice here).
it's definitely a bug. writeln() should throw, not segfaulting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140904/fac56717/attachment.sig>


More information about the Digitalmars-d-learn mailing list