The log file is more useful when line buffered.

Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
This commit is contained in:
Stephen McKay 2004-01-26 04:08:43 +00:00
parent ff96c77dc4
commit b9927716c0

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--;