Article View: gnu.utils.bug
Article #490GNU Make 3.56: Feature: line buffer stdout
From: Chip Salzenberg
Date: Wed, 11 Oct 1989 15:56
Date: Wed, 11 Oct 1989 15:56
25 lines
930 bytes
930 bytes
[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. */
Technical Details
Message-ID:
<m0gElJr-0002eWC@ateng.ateng.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!ateng.ateng.com!chipShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <m0gElJr-0002eWC@ateng.ateng.com> Date: 11 Oct 89 15:56:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25