projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc710e
)
Make sure stderr is not buffered.
author
<shinichiro.hamaji@gmail.com>
<>
Thu, 31 Jan 2013 04:39:54 +0000
(
04:39
+0000)
committer
<shinichiro.hamaji@gmail.com>
<>
Thu, 31 Jan 2013 04:39:54 +0000
(
04:39
+0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@130
eb4d4688
-79bd-11dd-afb4-
1d65580434c0
src/logging_unittest.cc
patch
|
blob
|
history
diff --git
a/src/logging_unittest.cc
b/src/logging_unittest.cc
index
2a58aae
..
d7e95cf
100644
(file)
--- a/
src/logging_unittest.cc
+++ b/
src/logging_unittest.cc
@@
-178,6
+178,9
@@
int main(int argc, char **argv) {
#ifdef HAVE_LIB_GFLAGS
ParseCommandLineFlags(&argc, &argv, true);
#endif
+ // Make sure stderr is not buffered as stderr seems to be buffered
+ // on recent windows.
+ setbuf(stderr, NULL);
// Test some basics before InitGoogleLogging:
CaptureTestStderr();