mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
isolationtester: Ensure stderr is unbuffered, too
This commit is contained in:
@@ -99,8 +99,12 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
/* make stdout unbuffered to match stderr */
|
||||
/*
|
||||
* Make stdout unbuffered to match stderr; and ensure stderr is unbuffered
|
||||
* too, which it should already be everywhere except sometimes in Windows.
|
||||
*/
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stderr, NULL);
|
||||
|
||||
/*
|
||||
* If the user supplies a non-option parameter on the command line, use it
|
||||
|
Reference in New Issue
Block a user