Module Name: src
Committed By: rillig
Date: Sat Jan 23 12:25:35 UTC 2021
Modified Files:
src/usr.bin/make: dir.c suff.c
Log Message:
make(1): remove the remaining beasts from the comments
To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/usr.bin/make/dir.c
cvs rdiff -u -r1.337 -r1.338 src/usr.bin/make/suff.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/dir.c
diff -u src/usr.bin/make/dir.c:1.261 src/usr.bin/make/dir.c:1.262
--- src/usr.bin/make/dir.c:1.261 Sat Jan 23 11:44:10 2021
+++ src/usr.bin/make/dir.c Sat Jan 23 12:25:35 2021
@@ -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 @@ Dir_FindFile(const char *name, SearchPat
/*
* 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 @@ Dir_FindFile(const char *name, SearchPat
* 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).]
Index: src/usr.bin/make/suff.c
diff -u src/usr.bin/make/suff.c:1.337 src/usr.bin/make/suff.c:1.338
--- src/usr.bin/make/suff.c:1.337 Sat Jan 23 11:34:41 2021
+++ src/usr.bin/make/suff.c Sat Jan 23 12:25:35 2021
@@ -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 @@ FindCmds(Candidate *targ, CandidateSearc
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;