Module Name: src
Committed By: rillig
Date: Sun Nov 1 18:45:49 UTC 2020
Modified Files:
src/usr.bin/make: job.c var.c
Log Message:
make(1): fix indentation of source code
To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 src/usr.bin/make/job.c
cvs rdiff -u -r1.635 -r1.636 src/usr.bin/make/var.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.301 src/usr.bin/make/job.c:1.302
--- src/usr.bin/make/job.c:1.301 Sun Nov 1 17:58:17 2020
+++ src/usr.bin/make/job.c Sun Nov 1 18:45:49 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.301 2020/11/01 17:58:17 rillig Exp $ */
+/* $NetBSD: job.c,v 1.302 2020/11/01 18:45:49 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.301 2020/11/01 17:58:17 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.302 2020/11/01 18:45:49 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
@@ -766,7 +766,7 @@ JobPrintCommand(Job *job, char *cmd)
*/
if (!commandShell->hasErrCtl)
- escCmd = EscapeShellDblQuot(cmd);
+ escCmd = EscapeShellDblQuot(cmd);
if (shutUp) {
if (!(job->flags & JOB_SILENT) && !noSpecials &&
Index: src/usr.bin/make/var.c
diff -u src/usr.bin/make/var.c:1.635 src/usr.bin/make/var.c:1.636
--- src/usr.bin/make/var.c:1.635 Sun Nov 1 14:36:25 2020
+++ src/usr.bin/make/var.c Sun Nov 1 18:45:49 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.635 2020/11/01 14:36:25 rillig Exp $ */
+/* $NetBSD: var.c,v 1.636 2020/11/01 18:45:49 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -130,7 +130,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.635 2020/11/01 14:36:25 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.636 2020/11/01 18:45:49 rillig Exp $");
#define VAR_DEBUG1(fmt, arg1) DEBUG1(VAR, fmt, arg1)
#define VAR_DEBUG2(fmt, arg1, arg2) DEBUG2(VAR, fmt, arg1, arg2)
@@ -2373,8 +2373,7 @@ ApplyModifier_Match(const char **pp, App
for (p = mod + 1; *p != '\0' && !(*p == ':' && nest == 0); p++) {
if (*p == '\\' &&
(p[1] == ':' || p[1] == st->endc || p[1] == st->startc)) {
- if (!needSubst)
- copy = TRUE;
+ copy = TRUE;
p++;
continue;
}