diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 22:53:05 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 22:53:05 +0000 |
commit | f098e072bec8d5858afbf713635217ea84c7e45d (patch) | |
tree | ebf4686d1346d3fabf8898d3ab12f21b8990b762 /sysdep/unix/log.c | |
parent | 432709027680d7791b325b2c2116c658eba21c8d (diff) |
Fixed a bunch of FIXME's by removing them :)
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r-- | sysdep/unix/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c index b4a028da..fa2902e6 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); } |