Flush output to log promptly (bug 389).
authorRob Landley <rob@landley.net>
Mon, 12 Dec 2005 07:04:59 +0000 (07:04 -0000)
committerRob Landley <rob@landley.net>
Mon, 12 Dec 2005 07:04:59 +0000 (07:04 -0000)
sysklogd/logread.c

index 70d1db6319348db7006d26812e19296fb5a1cc16..883e2cf4466225eb9fc9d9b982039a662f6c54c0 100644 (file)
@@ -162,6 +162,7 @@ extern int logread_main(int argc, char **argv)
                }
                free(buf_data);
 #endif
+               fflush(stdout);
        } while (follow);
 
 output_end: