Skip to content
Snippets Groups Projects
Commit 63d283ec authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Flush stderr and stdout in isolation tester.

This is a possibly vain attempt to fix a buffering issue
observed for some MSVC builds.
parent 7d6b8f71
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,8 @@ exit_nicely(void)
for (i = 0; i < nconns; i++)
PQfinish(conns[i]);
fflush(stderr);
fflush(stdout);
exit(1);
}
......@@ -283,6 +285,8 @@ main(int argc, char **argv)
/* Clean up and exit */
for (i = 0; i < nconns; i++)
PQfinish(conns[i]);
fflush(stderr);
fflush(stdout);
return 0;
}
......
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