summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-09-12 12:24:21 +0000
committerrillig <rillig@NetBSD.org>2020-09-12 12:24:21 +0000
commit6ecf23a813badca548b4feb0b95bbc65bd675ff3 (patch)
tree81bb42de963566e37a06941b0b488c9fce98cd75 /usr.bin/make
parent4912b9713b6f941e0d2eefa444e4dfcfad175a1f (diff)
make(1): fix indentation in dir.c
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/dir.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c
index 43d5d6593f8..1a061577231 100644
--- a/usr.bin/make/dir.c
+++ b/usr.bin/make/dir.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.c,v 1.139 2020/09/12 12:15:22 rillig Exp $ */
+/* $NetBSD: dir.c,v 1.140 2020/09/12 12:24:21 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: dir.c,v 1.139 2020/09/12 12:15:22 rillig Exp $";
+static char rcsid[] = "$NetBSD: dir.c,v 1.140 2020/09/12 12:24:21 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94";
#else
-__RCSID("$NetBSD: dir.c,v 1.139 2020/09/12 12:15:22 rillig Exp $");
+__RCSID("$NetBSD: dir.c,v 1.140 2020/09/12 12:24:21 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -596,8 +596,8 @@ DirMatchFiles(const char *pattern, Path *p, Lst expansions)
(pattern[0] == '.')))
{
Lst_Append(expansions,
- (isDot ? bmake_strdup(entry->name) :
- str_concat3(p->name, "/", entry->name)));
+ (isDot ? bmake_strdup(entry->name) :
+ str_concat3(p->name, "/", entry->name)));
}
}
}
@@ -1082,10 +1082,10 @@ Dir_FindFile(const char *name, Lst path)
base = strrchr(name, '/');
if (base) {
hasSlash = TRUE;
- base += 1;
+ base += 1;
} else {
hasSlash = FALSE;
- base = name;
+ base = name;
}
DIR_DEBUG1("Searching for %s ...", name);