The log file is more useful when line buffered.

Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
This commit is contained in:
mckay 2004-01-26 04:08:43 +00:00
parent 5c3a320f7b
commit 78c458d45c

View File

@ -546,6 +546,7 @@ main(int argc, char **argv)
logf = fopen(optarg, "w");
if (!logf)
err(1, "%s", optarg);
setlinebuf(logf);
break;
case 'q':
verbose--;