Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): fix typo in comment of JobPrintCommand



details:   https://anonhg.NetBSD.org/src/rev/1f3ba231c8db
branches:  trunk
changeset: 947153:1f3ba231c8db
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Dec 12 12:28:06 2020 +0000

description:
make(1): fix typo in comment of JobPrintCommand

diffstat:

 usr.bin/make/job.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b000045c386d -r 1f3ba231c8db usr.bin/make/job.c
--- a/usr.bin/make/job.c        Sat Dec 12 12:19:18 2020 +0000
+++ b/usr.bin/make/job.c        Sat Dec 12 12:28:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.380 2020/12/12 11:33:10 rillig Exp $ */
+/*     $NetBSD: job.c,v 1.381 2020/12/12 12:28:06 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -143,7 +143,7 @@
 #include "trace.h"
 
 /*     "@(#)job.c      8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: job.c,v 1.380 2020/12/12 11:33:10 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.381 2020/12/12 12:28:06 rillig Exp $");
 
 /*
  * A shell defines how the commands are run.  All commands for a target are
@@ -946,7 +946,7 @@
                        }
                        /*
                         * If it's a comment line or blank, avoid the possible
-                        * syntax error generated by "{\n} || exit 0".
+                        * syntax error generated by "{\n} || exit $?".
                         */
                        cmdTemplate = escCmd[0] == shell->commentChar ||
                                      escCmd[0] == '\0'



Home | Main Index | Thread Index | Old Index