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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy