Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6eda3e9

Browse files
committed
isolationtester: Ensure stderr is unbuffered, too
1 parent527fdd9 commit6eda3e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/test/isolation/isolationtester.c

Lines changed: 5 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp