Make stdout line-buffered so verbose output is easier to read.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@768 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
03207fcd61
commit
56f7cf21f5
|
@ -80,6 +80,9 @@ main(int argc, char *argv[])
|
|||
setlogmask(LOG_UPTO(0));
|
||||
#endif
|
||||
|
||||
/* make stdout line-buffered to preserve ordering */
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
|
||||
/* clean up temp files in case of premature exit */
|
||||
atexit(t_fcloseall);
|
||||
|
||||
|
|
Loading…
Reference in New Issue