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: remove obsolete comment



details:   https://anonhg.NetBSD.org/src/rev/c24a91bdb788
branches:  trunk
changeset: 366017:c24a91bdb788
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon May 09 21:24:42 2022 +0000

description:
make: remove obsolete comment

All instances of VarFind that could be replaced with VarFindSubstring
have been replaced.

diffstat:

 usr.bin/make/var.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0fee5afc2888 -r c24a91bdb788 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Mon May 09 17:13:30 2022 +0000
+++ b/usr.bin/make/var.c        Mon May 09 21:24:42 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.1019 2022/03/27 18:39:01 rillig Exp $        */
+/*     $NetBSD: var.c,v 1.1020 2022/05/09 21:24:42 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -139,7 +139,7 @@
 #include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.1019 2022/03/27 18:39:01 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.1020 2022/05/09 21:24:42 rillig Exp $");
 
 /*
  * Variables are defined using one of the VAR=value assignments.  Their
@@ -452,7 +452,6 @@
        return var;
 }
 
-/* TODO: Replace these calls with VarFindSubstring, as far as possible. */
 static Var *
 VarFind(const char *name, GNode *scope, bool elsewhere)
 {



Home | Main Index | Thread Index | Old Index