Changeset 768 in openpam


Ignore:
Timestamp:
Mar 6, 2014, 12:31:31 PM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Make stdout line-buffered so verbose output is easier to read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/t_main.c

    r651 r768  
    8181#endif
    8282
     83        /* make stdout line-buffered to preserve ordering */
     84        setvbuf(stdout, NULL, _IOLBF, 0);
     85
    8386        /* clean up temp files in case of premature exit */
    8487        atexit(t_fcloseall);
Note: See TracChangeset for help on using the changeset viewer.