Content-Length: 264032 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6eda3e9c27781dec369542a9b20cba7c3d832a5e

93 isolationtester: Ensure stderr is unbuffered, too · postgrespro/postgres_cluster@6eda3e9 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6eda3e9c27781dec369542a9b20cba7c3d832a5e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy