Commit 9d87eecd authored by Michael Smith's avatar Michael Smith

Open logs in line-buffered mode, so that logging is actually useful.

svn path=/trunk/log/; revision=2075
parent 0bf34707
......@@ -84,6 +84,7 @@ int log_open(const char *filename)
_release_log_id(log_id);
return LOG_ECANTOPEN;
}
setvbuf(loglist[log_id].logfile, NULL, _IOLBF, 0);
return log_id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment