1 2 3 4 5 6 7 8 9 10 11 12 13 14
$FreeBSD$ --- src/file.c 2002/07/15 11:40:21 1.1 +++ src/file.c 2002/07/15 11:42:31 @@ -192,6 +192,8 @@ putc('\r', fp); putc('\n', fp); } + fflush(fp); + fsync(fileno(fp)); return 0; }