Browse Source

Merge pull request #4175

283e405 Switch stdout to line buffering (shshshsh)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
2e2f6855df
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/init.cpp

2
src/init.cpp

@ -25,6 +25,7 @@ @@ -25,6 +25,7 @@
#endif
#include <stdint.h>
#include <stdio.h>
#ifndef WIN32
#include <signal.h>
@ -530,6 +531,7 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -530,6 +531,7 @@ bool AppInit2(boost::thread_group& threadGroup)
fServer = GetBoolArg("-server", false);
fPrintToConsole = GetBoolArg("-printtoconsole", false);
fLogTimestamps = GetBoolArg("-logtimestamps", true);
setvbuf(stdout, NULL, _IOLBF, 0);
#ifdef ENABLE_WALLET
bool fDisableWallet = GetBoolArg("-disablewallet", false);
#endif

Loading…
Cancel
Save