projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527fdd9
)
isolationtester: Ensure stderr is unbuffered, too
author
Alvaro Herrera
Fri, 20 Dec 2013 01:09:30 +0000
(22:09 -0300)
committer
Alvaro Herrera
Fri, 20 Dec 2013 01:09:30 +0000
(22:09 -0300)
src/test/isolation/isolationtester.c
patch
|
blob
|
blame
|
history
diff --git
a/src/test/isolation/isolationtester.c
b/src/test/isolation/isolationtester.c
index 8dc0f66637b42d2f7921eb3a7dbb530d958300bb..e936c01532f9848c39e37a85c5be43215be91d4f 100644
(file)
--- a/
src/test/isolation/isolationtester.c
+++ b/
src/test/isolation/isolationtester.c
@@
-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