Module Name: src
Committed By: rillig
Date: Mon Oct 26 20:11:03 UTC 2020
Modified Files:
src/usr.bin/make: job.c
Log Message:
make(1): fix comments in job.c
To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 src/usr.bin/make/job.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/job.c
diff -u src/usr.bin/make/job.c:1.288 src/usr.bin/make/job.c:1.289
--- src/usr.bin/make/job.c:1.288 Sun Oct 25 22:05:00 2020
+++ src/usr.bin/make/job.c Mon Oct 26 20:11:02 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.288 2020/10/25 22:05:00 rillig Exp $ */
+/* $NetBSD: job.c,v 1.289 2020/10/26 20:11:02 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -143,7 +143,7 @@
#include "trace.h"
/* "@(#)job.c 8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: job.c,v 1.288 2020/10/25 22:05:00 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.289 2020/10/26 20:11:02 rillig Exp $");
/* A shell defines how the commands are run. All commands for a target are
* written into a single file, which is then given to the shell to execute
@@ -230,10 +230,8 @@ static AbortReason aborting = ABORT_NONE
*/
int jobTokensRunning = 0;
-/* The number of commands actually printed for a target.
- * XXX: Why printed? Shouldn't that be run/printed instead, depending on the
- * command line options?
- * Should this number be 0, no shell will be executed. */
+/* The number of commands actually printed to the shell commands file for
+ * the current job. Should this number be 0, no shell will be executed. */
static int numCommands;
typedef enum JobStartResult {
@@ -254,7 +252,7 @@ typedef enum JobStartResult {
* the default shell.
*
* ".SHELL" lines in Makefiles can choose the default shell from the
- # set defined here, or add additional shells.
+ * set defined here, or add additional shells.
*/
#ifdef DEFSHELL_CUSTOM