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 Make_HandleUse
details: https://anonhg.NetBSD.org/src/rev/2a9076ec25ca
branches: trunk
changeset: 946201:2a9076ec25ca
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Nov 21 10:51:26 2020 +0000
description:
make(1): fix indentation in Make_HandleUse
diffstat:
usr.bin/make/make.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (41 lines):
diff -r d9a7e119d48f -r 2a9076ec25ca usr.bin/make/make.c
--- a/usr.bin/make/make.c Sat Nov 21 10:50:39 2020 +0000
+++ b/usr.bin/make/make.c Sat Nov 21 10:51:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: make.c,v 1.209 2020/11/16 22:31:42 rillig Exp $ */
+/* $NetBSD: make.c,v 1.210 2020/11/21 10:51:26 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -102,7 +102,7 @@
#include "job.h"
/* "@(#)make.c 8.1 (Berkeley) 6/6/93" */
-MAKE_RCSID("$NetBSD: make.c,v 1.209 2020/11/16 22:31:42 rillig Exp $");
+MAKE_RCSID("$NetBSD: make.c,v 1.210 2020/11/21 10:51:26 rillig Exp $");
/* Sequence # to detect recursion. */
static unsigned int checked_seqno = 1;
@@ -373,14 +373,14 @@
}
#endif
- if ((cgn->type & (OP_USE|OP_USEBEFORE)) || Lst_IsEmpty(pgn->commands)) {
- if (cgn->type & OP_USEBEFORE) {
- /* .USEBEFORE */
- Lst_PrependAll(pgn->commands, cgn->commands);
- } else {
- /* .USE, or target has no commands */
- Lst_AppendAll(pgn->commands, cgn->commands);
- }
+ if ((cgn->type & (OP_USE | OP_USEBEFORE)) || Lst_IsEmpty(pgn->commands)) {
+ if (cgn->type & OP_USEBEFORE) {
+ /* .USEBEFORE */
+ Lst_PrependAll(pgn->commands, cgn->commands);
+ } else {
+ /* .USE, or target has no commands */
+ Lst_AppendAll(pgn->commands, cgn->commands);
+ }
}
for (ln = cgn->children->first; ln != NULL; ln = ln->next) {
Home |
Main Index |
Thread Index |
Old Index