Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6eda3e9

Browse files
committed
isolationtester: Ensure stderr is unbuffered, too
1 parent 527fdd9 commit 6eda3e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/isolation/isolationtester.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,12 @@ main(int argc, char **argv)
9999
}
100100
}
101101

102-
/* make stdout unbuffered to match stderr */
102+
/*
103+
* Make stdout unbuffered to match stderr; and ensure stderr is unbuffered
104+
* too, which it should already be everywhere except sometimes in Windows.
105+
*/
103106
setbuf(stdout, NULL);
107+
setbuf(stderr, NULL);
104108

105109
/*
106110
* If the user supplies a non-option parameter on the command line, use it

0 commit comments

Comments
 (0)