chip@ateng.ateng.com (Chip Salzenberg) (10/11/89)
[FEATURE] Line buffer standard output, so that make's output is properly interleaved even when multiple instances are going at once (job_slots > 1). Index: main.c *************** *** 332,335 **** --- 336,351 ---- #endif + /* Line buffer stdout. */ + + #ifdef USGr3 + setvbuf(stdout, (char *)0, _IOLBF, BUFSIZ); + #else + #ifdef USG + setvbuf(stdout, _IOLBF, (char *)0, BUFSIZ); + #else + setlinebuf(stdout); + #endif + #endif + /* Figure out where this program lives. */