Module Name:    src
Committed By:   rillig
Date:           Sat Nov 14 13:27:02 UTC 2020

Modified Files:
        src/usr.bin/make: job.c job.h

Log Message:
make(1): fix grammar: setup -> set up


To generate a diff of this commit:
cvs rdiff -u -r1.318 -r1.319 src/usr.bin/make/job.c
cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/job.h

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.318 src/usr.bin/make/job.c:1.319
--- src/usr.bin/make/job.c:1.318	Sat Nov 14 13:07:39 2020
+++ src/usr.bin/make/job.c	Sat Nov 14 13:27:01 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: job.c,v 1.318 2020/11/14 13:07:39 rillig Exp $	*/
+/*	$NetBSD: job.c,v 1.319 2020/11/14 13:27:01 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.318 2020/11/14 13:07:39 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.319 2020/11/14 13:27:01 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
@@ -169,7 +169,7 @@ MAKE_RCSID("$NetBSD: job.c,v 1.318 2020/
  * status. Finally errExit is a printf template for running the command and
  * causing the shell to exit on error. If any of these strings are empty when
  * hasErrCtl is FALSE, the command will be executed anyway as is, and if it
- * causes an error, so be it. Any templates setup to echo the command will
+ * causes an error, so be it. Any templates set up to echo the command will
  * escape any '$ ` \ "' characters in the command string to avoid common
  * problems with echo "%s\n" as a template.
  *
@@ -846,7 +846,7 @@ JobPrintCommand(Job *job, char *cmd)
 
 	/*
 	 * If errors are being checked and the shell doesn't have error control
-	 * but does supply an errExit template, then setup commands to run
+	 * but does supply an errExit template, then set up commands to run
 	 * through it.
 	 */
 
@@ -1513,7 +1513,7 @@ JobStart(GNode *gn, JobFlags flags)
     memset(job, 0, sizeof *job);
     job->node = gn;
     job->tailCmds = NULL;
-    job->status = JOB_ST_SETUP;
+    job->status = JOB_ST_SET_UP;
 
     if (gn->type & OP_SPECIAL)
 	flags |= JOB_SPECIAL;

Index: src/usr.bin/make/job.h
diff -u src/usr.bin/make/job.h:1.62 src/usr.bin/make/job.h:1.63
--- src/usr.bin/make/job.h:1.62	Sat Nov 14 12:38:06 2020
+++ src/usr.bin/make/job.h	Sat Nov 14 13:27:01 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: job.h,v 1.62 2020/11/14 12:38:06 rillig Exp $	*/
+/*	$NetBSD: job.h,v 1.63 2020/11/14 13:27:01 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -119,7 +119,7 @@ struct pollfd;
 
 typedef enum JobStatus {
     JOB_ST_FREE =	0,	/* Job is available */
-    JOB_ST_SETUP =	1,	/* Job is allocated but otherwise invalid */
+    JOB_ST_SET_UP =	1,	/* Job is allocated but otherwise invalid */
     /* XXX: What about the 2? */
     JOB_ST_RUNNING =	3,	/* Job is running, pid valid */
     JOB_ST_FINISHED =	4	/* Job is done (ie after SIGCHILD) */

Reply via email to