From 0498d92f955f011ceb70e1124f25ac567c359005 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 2 Apr 1999 11:45:55 +0000 Subject: Believe it or not, printf()'s does not work too much without this one. --- sysdep/unix/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep') 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..."); -- cgit v1.2.3