summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-04-02 13:45:55 +0200
committerPavel Machek <pavel@ucw.cz>1999-04-02 13:45:55 +0200
commit0498d92f955f011ceb70e1124f25ac567c359005 (patch)
tree9a3fa8bc769b34eceb55181cbf959774ce9b5171 /sysdep
parent8cda9cdbcf445ebe828b7bf89dcb4c7f83937756 (diff)
downloadbird-0498d92f955f011ceb70e1124f25ac567c359005.tar
bird-0498d92f955f011ceb70e1124f25ac567c359005.zip
Believe it or not, printf()'s does not work too much without this one.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 356070f..ed89ef1 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...");