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): remove the remaining beasts from the c...



details:   https://anonhg.NetBSD.org/src/rev/fc181582b2b9
branches:  trunk
changeset: 958854:fc181582b2b9
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 23 12:25:35 2021 +0000

description:
make(1): remove the remaining beasts from the comments

diffstat:

 usr.bin/make/dir.c  |  8 ++++----
 usr.bin/make/suff.c |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 254b6202fcd8 -r fc181582b2b9 usr.bin/make/dir.c
--- a/usr.bin/make/dir.c        Sat Jan 23 12:03:25 2021 +0000
+++ b/usr.bin/make/dir.c        Sat Jan 23 12:25:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dir.c,v 1.261 2021/01/23 11:44:10 rillig Exp $ */
+/*     $NetBSD: dir.c,v 1.262 2021/01/23 12:25:35 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -138,7 +138,7 @@
 #include "job.h"
 
 /*     "@(#)dir.c      8.2 (Berkeley) 1/2/94"  */
-MAKE_RCSID("$NetBSD: dir.c,v 1.261 2021/01/23 11:44:10 rillig Exp $");
+MAKE_RCSID("$NetBSD: dir.c,v 1.262 2021/01/23 12:25:35 rillig Exp $");
 
 /*
  * A search path is a list of CachedDir structures. A CachedDir has in it the
@@ -1118,7 +1118,7 @@
                /*
                 * We look through all the directories on the path seeking one
                 * which contains the final component of the given name.  If
-                * such a beast is found, we concatenate the directory name
+                * such a file is found, we concatenate the directory name
                 * and the final component and return the resulting string.
                 * If we don't find any such thing, we go on to phase two.
                 *
@@ -1152,7 +1152,7 @@
         * path. (eg. /usr/include and sys/types.h. The above search would
         * fail to turn up types.h in /usr/include, but it *is* in
         * /usr/include/sys/types.h).
-        * [ This no longer applies: If we find such a beast, we assume there
+        * [ This no longer applies: If we find such a file, we assume there
         * will be more (what else can we assume?) and add all but the last
         * component of the resulting name onto the search path (at the
         * end).]
diff -r 254b6202fcd8 -r fc181582b2b9 usr.bin/make/suff.c
--- a/usr.bin/make/suff.c       Sat Jan 23 12:03:25 2021 +0000
+++ b/usr.bin/make/suff.c       Sat Jan 23 12:25:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: suff.c,v 1.337 2021/01/23 11:34:41 rillig Exp $        */
+/*     $NetBSD: suff.c,v 1.338 2021/01/23 12:25:35 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -114,7 +114,7 @@
 #include "dir.h"
 
 /*     "@(#)suff.c     8.4 (Berkeley) 3/21/94" */
-MAKE_RCSID("$NetBSD: suff.c,v 1.337 2021/01/23 11:34:41 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.338 2021/01/23 12:25:35 rillig Exp $");
 
 typedef List SuffixList;
 typedef ListNode SuffixListNode;
@@ -1176,7 +1176,7 @@
        GNode *tgn;             /* Target GNode */
        GNode *sgn;             /* Source GNode */
        size_t prefLen;         /* The length of the defined prefix */
-       Suffix *suff;           /* Suffix on matching beastie */
+       Suffix *suff;           /* Suffix of the matching candidate */
        Candidate *ret;         /* Return value */
 
        tgn = targ->node;



Home | Main Index | Thread Index | Old Index