Module Name: src
Committed By: rillig
Date: Mon Feb 1 21:32:54 UTC 2021
Modified Files:
src/usr.bin/make: make.h meta.c
Log Message:
make: clean up comments
To generate a diff of this commit:
cvs rdiff -u -r1.249 -r1.250 src/usr.bin/make/make.h
cvs rdiff -u -r1.169 -r1.170 src/usr.bin/make/meta.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/make.h
diff -u src/usr.bin/make/make.h:1.249 src/usr.bin/make/make.h:1.250
--- src/usr.bin/make/make.h:1.249 Mon Feb 1 21:09:25 2021
+++ src/usr.bin/make/make.h Mon Feb 1 21:32:54 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.249 2021/02/01 21:09:25 rillig Exp $ */
+/* $NetBSD: make.h,v 1.250 2021/02/01 21:32:54 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -654,11 +654,13 @@ typedef struct CmdOpts {
/* -n: execute almost no commands from the targets */
Boolean noExecute;
- /* -q: if true, we aren't supposed to really make anything, just see
- * if the targets are out-of-date */
+ /*
+ * -q: if true, do not really make anything, just see if the targets
+ * are out-of-date
+ */
Boolean queryFlag;
- /* -r: raw mode, without loading the builtin rules. */
+ /* -r: raw mode, do not load the builtin rules. */
Boolean noBuiltins;
/* -s: don't echo the shell commands before executing them */
@@ -676,7 +678,7 @@ typedef struct CmdOpts {
/* -W: if true, makefile parsing warnings are treated as errors */
Boolean parseWarnFatal;
- /* -w: print Entering and Leaving for submakes */
+ /* -w: print 'Entering' and 'Leaving' for submakes */
Boolean enterFlag;
/* -X: if true, do not export variables set on the command line to the
Index: src/usr.bin/make/meta.c
diff -u src/usr.bin/make/meta.c:1.169 src/usr.bin/make/meta.c:1.170
--- src/usr.bin/make/meta.c:1.169 Sat Jan 16 20:49:31 2021
+++ src/usr.bin/make/meta.c Mon Feb 1 21:32:54 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.169 2021/01/16 20:49:31 rillig Exp $ */
+/* $NetBSD: meta.c,v 1.170 2021/02/01 21:32:54 rillig Exp $ */
/*
* Implement 'meta' mode.
@@ -1194,7 +1194,7 @@ meta_oodate(GNode *gn, Boolean oodate)
/*
* We need to track pathnames per-process.
*
- * Each process run by make, starts off in the 'CWD'
+ * Each process run by make starts off in the 'CWD'
* recorded in the .meta file, if it chdirs ('C')
* elsewhere we need to track that - but only for
* that process. If it forks ('F'), we initialize