Skip to content
Snippets Groups Projects
Commit 7bc7b37a authored by sof's avatar sof
Browse files

[project @ 1998-08-14 13:15:26 by sof]

ErrorIO_innards: Flush stdio + stderr
parent d7276545
No related merge requests found
......@@ -310,6 +310,8 @@ STGFUN(ErrorIO_innards)
/* Assumes that "TopClosure" has been set already */
{
FB_
fflush(stdout);
fflush(stderr);
if (ErrorIO_call_count >= 16 /* MAGIC CONSTANT */ ) {
/* Don't wrap the calls; we're done with STG land */
fflush(stdout);
......@@ -395,6 +397,8 @@ ErrorIO_innards(STG_NO_ARGS)
/* Assumes that "TopClosure" has been set already */
{
FB_
fflush(stdout);
fflush(stderr);
if (ErrorIO_call_count >= 16 /* MAGIC CONSTANT */ ) {
/* Don't wrap the calls; we're done with STG land */
fflush(stdout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment