Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!ateng.ateng.com!chip From: chip@ateng.ateng.com (Chip Salzenberg) Newsgroups: gnu.utils.bug Subject: GNU Make 3.56: Feature: line buffer stdout Message-ID: Date: 11 Oct 89 15:56:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 [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. */