disable buffering to stdout/stderr: ensures that printf output appears immediately without explicit fflush()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@398 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
fd5a416b70
commit
691090fbcc
|
@ -97,6 +97,8 @@ int main( int argc, char **argv )
|
|||
LOG.reset();
|
||||
LOG.setLevel(LOG_LEVEL_INFO);
|
||||
resetError();
|
||||
setvbuf(stderr, NULL, _IONBF, 0);
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
|
||||
// Expand PATH to cover the directory we were started from?
|
||||
// This might be needed to find normalize_vcard.
|
||||
|
|
Loading…
Reference in New Issue