We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40458d2 commit 2b0ac71Copy full SHA for 2b0ac71
src/tests.c
@@ -5174,6 +5174,9 @@ int main(int argc, char **argv) {
5174
* diagnostic information. Happens right at the start of main because
5175
* setbuf must be used before any other operation on the stream. */
5176
setbuf(stdout, NULL);
5177
+ /* Also disable buffering for stderr because it's not guaranteed that it's
5178
+ * unbuffered on all systems. */
5179
+ setbuf(stderr, NULL);
5180
5181
/* find iteration count */
5182
if (argc > 1) {
0 commit comments