diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-04-02 11:45:55 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-04-02 11:45:55 +0000 |
commit | 0498d92f955f011ceb70e1124f25ac567c359005 (patch) | |
tree | 9a3fa8bc769b34eceb55181cbf959774ce9b5171 | |
parent | 8cda9cdbcf445ebe828b7bf89dcb4c7f83937756 (diff) |
Believe it or not, printf()'s does not work too much without this one.
-rw-r--r-- | sysdep/unix/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 356070f1..ed89ef1b 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -194,6 +194,8 @@ main(int argc, char **argv) #endif log_init_debug(NULL); + setvbuf(stdout, NULL, _IONBF, 0); /* And yes, this does make a difference */ + setvbuf(stderr, NULL, _IONBF, 0); parse_args(argc, argv); log(L_INFO "Launching BIRD 0.0.0..."); |