diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 23:53:05 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 23:53:05 +0100 |
commit | f098e072bec8d5858afbf713635217ea84c7e45d (patch) | |
tree | ebf4686d1346d3fabf8898d3ab12f21b8990b762 /sysdep | |
parent | 432709027680d7791b325b2c2116c658eba21c8d (diff) | |
download | bird-f098e072bec8d5858afbf713635217ea84c7e45d.tar bird-f098e072bec8d5858afbf713635217ea84c7e45d.zip |
Fixed a bunch of FIXME's by removing them :)
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/io.c | 2 | ||||
-rw-r--r-- | sysdep/unix/log.c | 2 | ||||
-rw-r--r-- | sysdep/unix/main.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 267e589..824c7e2 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -897,8 +897,6 @@ io_loop(void) sock *s; node *n, *p; - /* FIXME: Use poll() if available */ - FD_ZERO(&rd); FD_ZERO(&wr); for(;;) 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); } diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 58fffda..c6f4893 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -385,8 +385,6 @@ main(int argc, char **argv) dmalloc_debug(0x2f03d00); #endif - setvbuf(stdout, NULL, _IONBF, 0); /* FIXME: Kill some day. */ - setvbuf(stderr, NULL, _IONBF, 0); parse_args(argc, argv); if (debug_flag == 1) log_init_debug(""); |