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 comment for allTargets



details:   https://anonhg.NetBSD.org/src/rev/d9a7e119d48f
branches:  trunk
changeset: 946200:d9a7e119d48f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 21 10:50:39 2020 +0000

description:
make(1): fix comment for allTargets

Source nodes are also included in this list.  What's not includes is
nodes that are _only_ source nodes.

diffstat:

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

diffs (24 lines):

diff -r 398bdeb771bb -r d9a7e119d48f usr.bin/make/targ.c
--- a/usr.bin/make/targ.c       Sat Nov 21 10:36:01 2020 +0000
+++ b/usr.bin/make/targ.c       Sat Nov 21 10:50:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targ.c,v 1.135 2020/11/16 22:28:44 rillig Exp $        */
+/*     $NetBSD: targ.c,v 1.136 2020/11/21 10:50:39 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -119,9 +119,12 @@
 #include "dir.h"
 
 /*     "@(#)targ.c     8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: targ.c,v 1.135 2020/11/16 22:28:44 rillig Exp $");
+MAKE_RCSID("$NetBSD: targ.c,v 1.136 2020/11/21 10:50:39 rillig Exp $");
 
-/* All target nodes found so far, but not the source nodes. */
+/*
+ * All target nodes that appeared on the left-hand side of one of the
+ * dependency operators ':', '::', '!'.
+ */
 static GNodeList *allTargets;
 static HashTable allTargetsByName;
 



Home | Main Index | Thread Index | Old Index