summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2008-10-19 08:30:10 +0000
committerapb <apb@NetBSD.org>2008-10-19 08:30:10 +0000
commit3bf9f42fd409efe80a2cc806287a2e0187592d64 (patch)
treefd6b73fe9b1a4b179c7e2d1436c24a34adfce88a /usr.bin/make/make.1
parente269763779b7564a0e4f06b1edb7d86c92378996 (diff)
Always make the debugging output unbuffered; in addition, if debugging
is enabled but debugging output is not directed to stdout, then make stdout line buffered. Previously, the code to make debug output unbuffered applied only if debugging to a file, not if debugging to stdout or stderr. Making stdout line buffered when debugging was suggested by Steven Bellovin.
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 16804dce273..9b5652d340a 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: make.1,v 1.138 2008/10/18 14:36:40 apb Exp $
+.\" $NetBSD: make.1,v 1.139 2008/10/19 08:30:10 apb Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
-.Dd October 18, 2008
+.Dd October 19, 2008
.Dt MAKE 1
.Os
.Sh NAME
@@ -121,6 +121,9 @@ By default, debugging information is printed to standard output,
but this can be changed using the
Ar F
debugging flag.
+The debugging output is always unbuffered; in addition, if debugging
+is enabled but debugging output is not directed to standard output,
+then the standard output is line buffered.
.Ar Flags
is one or more of the following:
.Bl -tag -width Ds