Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): fix indentation in source code
details: https://anonhg.NetBSD.org/src/rev/1c9d98620929
branches: trunk
changeset: 941817:1c9d98620929
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Oct 31 09:57:47 2020 +0000
description:
make(1): fix indentation in source code
diffstat:
usr.bin/make/meta.c | 6 +++---
usr.bin/make/var.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 6c1881aa2960 -r 1c9d98620929 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Sat Oct 31 09:47:27 2020 +0000
+++ b/usr.bin/make/meta.c Sat Oct 31 09:57:47 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.133 2020/10/30 20:30:44 rillig Exp $ */
+/* $NetBSD: meta.c,v 1.134 2020/10/31 09:57:47 rillig Exp $ */
/*
* Implement 'meta' mode.
@@ -326,7 +326,7 @@
int rc = 0; /* keep looking */
if (!p_make) {
- void *dontFreeIt;
+ void *dontFreeIt;
p_make = Var_Value(".MAKE", gn, &dontFreeIt);
p_len = strlen(p_make);
}
@@ -1602,7 +1602,7 @@
Lst_Destroy(missingFiles, free);
if (oodate && needOODATE) {
- void *freeIt;
+ void *freeIt;
/*
* Target uses .OODATE which is empty; or we wouldn't be here.
* We have decided it is oodate, so .OODATE needs to be set.
diff -r 6c1881aa2960 -r 1c9d98620929 usr.bin/make/var.c
--- a/usr.bin/make/var.c Sat Oct 31 09:47:27 2020 +0000
+++ b/usr.bin/make/var.c Sat Oct 31 09:57:47 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.613 2020/10/31 09:27:19 rillig Exp $ */
+/* $NetBSD: var.c,v 1.614 2020/10/31 09:57:47 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -129,7 +129,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.613 2020/10/31 09:27:19 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.614 2020/10/31 09:57:47 rillig Exp $");
#define VAR_DEBUG1(fmt, arg1) DEBUG1(VAR, fmt, arg1)
#define VAR_DEBUG2(fmt, arg1, arg2) DEBUG2(VAR, fmt, arg1, arg2)
@@ -751,7 +751,7 @@
* just delete .MAKE.EXPORTED below.
*/
if (varnames == str) {
- /* XXX: v->name is injected without escaping it */
+ /* XXX: v->name is injected without escaping it */
char *expr = str_concat3("${" MAKE_EXPORTED ":N", v->name, "}");
char *cp;
(void)Var_Subst(expr, VAR_GLOBAL, VARE_WANTRES, &cp);
@@ -947,7 +947,7 @@
/* XXX: name is expanded for the second time */
Var_Set(name, val, ctxt);
} else if (v->flags & VAR_READONLY) {
- VAR_DEBUG1("Ignoring append to %s since it is read-only\n", name);
+ VAR_DEBUG1("Ignoring append to %s since it is read-only\n", name);
} else if (ctxt == VAR_CMDLINE || !(v->flags & VAR_FROM_CMD)) {
Buf_AddByte(&v->val, ' ');
Buf_AddStr(&v->val, val);
Home |
Main Index |
Thread Index |
Old Index