summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-12 23:53:05 +0100
committerMartin Mares <mj@ucw.cz>2000-03-12 23:53:05 +0100
commitf098e072bec8d5858afbf713635217ea84c7e45d (patch)
treeebf4686d1346d3fabf8898d3ab12f21b8990b762 /sysdep/unix/log.c
parent432709027680d7791b325b2c2116c658eba21c8d (diff)
downloadbird-f098e072bec8d5858afbf713635217ea84c7e45d.tar
bird-f098e072bec8d5858afbf713635217ea84c7e45d.zip
Fixed a bunch of FIXME's by removing them :)
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r--sysdep/unix/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index b4a028d..fa2902e 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -184,4 +184,6 @@ log_init_debug(char *f)
dbgf = stderr;
else if (!(dbgf = fopen(f, "a")))
log(L_ERR "Error opening debug file `%s': %m", f);
+ if (dbgf)
+ setvbuf(dbgf, NULL, _IONBF, 0);
}