Merge pull request #4175
283e405
Switch stdout to line buffering (shshshsh)
This commit is contained in:
commit
2e2f6855df
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
|||
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…
Reference in a new issue