summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-12 22:53:05 +0000
committerMartin Mares <mj@ucw.cz>2000-03-12 22:53:05 +0000
commitf098e072bec8d5858afbf713635217ea84c7e45d (patch)
treeebf4686d1346d3fabf8898d3ab12f21b8990b762 /sysdep/unix
parent432709027680d7791b325b2c2116c658eba21c8d (diff)
Fixed a bunch of FIXME's by removing them :)
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c2
-rw-r--r--sysdep/unix/log.c2
-rw-r--r--sysdep/unix/main.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 267e5896..824c7e29 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 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);
}
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 58fffda4..c6f48936 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("");