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


Peter Alexander <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m


--- Comment #5 from Peter Alexander <[email protected]> 2013-06-14 
14:47:41 PDT ---
(In reply to comment #4)
> Will writeln()/flush() hijack main return code even though the programmer
> EXPLICITLY returned something else?

At the end of the original post, Andrei wrote:

"We should add the call to fflush to main() and return nonzero IF AND ONLY IF:
(a) fflush(null) fails, and (b) the program would have otherwise returned 0."

So, it will only hijack the return code if the return code was 0.

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

Reply via email to