Module Name: src
Committed By: rillig
Date: Sat Nov 21 10:50:39 UTC 2020
Modified Files:
src/usr.bin/make: targ.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/usr.bin/make/targ.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/targ.c
diff -u src/usr.bin/make/targ.c:1.135 src/usr.bin/make/targ.c:1.136
--- src/usr.bin/make/targ.c:1.135 Mon Nov 16 22:28:44 2020
+++ src/usr.bin/make/targ.c Sat Nov 21 10:50:39 2020
@@ -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;