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 dir.c



details:   https://anonhg.NetBSD.org/src/rev/d88556703374
branches:  trunk
changeset: 938614:d88556703374
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Sep 12 12:24:21 2020 +0000

description:
make(1): fix indentation in dir.c

diffstat:

 usr.bin/make/dir.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (50 lines):

diff -r 099bf5e4470a -r d88556703374 usr.bin/make/dir.c
--- a/usr.bin/make/dir.c        Sat Sep 12 12:15:22 2020 +0000
+++ b/usr.bin/make/dir.c        Sat Sep 12 12:24:21 2020 +0000
@@ -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 @@
             (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 @@
     base = strrchr(name, '/');
     if (base) {
        hasSlash = TRUE;
-           base += 1;
+       base += 1;
     } else {
        hasSlash = FALSE;
-           base = name;
+       base = name;
     }
 
     DIR_DEBUG1("Searching for %s ...", name);



Home | Main Index | Thread Index | Old Index