From f098e072bec8d5858afbf713635217ea84c7e45d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 12 Mar 2000 22:53:05 +0000 Subject: Fixed a bunch of FIXME's by removing them :) --- sysdep/unix/log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/unix/log.c') 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); } -- cgit v1.2.3