make(1): indent Dir_Expand with tabs instead of spaces
This commit is contained in:
parent
6b10d49042
commit
819d0d717c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dir.c,v 1.215 2020/11/23 21:45:30 rillig Exp $ */
|
||||
/* $NetBSD: dir.c,v 1.216 2020/11/23 21:48:42 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -134,7 +134,7 @@
|
||||
#include "job.h"
|
||||
|
||||
/* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */
|
||||
MAKE_RCSID("$NetBSD: dir.c,v 1.215 2020/11/23 21:45:30 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: dir.c,v 1.216 2020/11/23 21:48:42 rillig Exp $");
|
||||
|
||||
#define DIR_DEBUG0(text) DEBUG0(DIR, text)
|
||||
#define DIR_DEBUG1(fmt, arg1) DEBUG1(DIR, fmt, arg1)
|
||||
@ -797,9 +797,9 @@ Dir_Expand(const char *word, SearchPath *path, StringList *expansions)
|
||||
|
||||
if (*cp == '\0') {
|
||||
/*
|
||||
* No directory component and no wildcard at all -- this should
|
||||
* never happen as in such a simple case there is no need to
|
||||
* expand anything.
|
||||
* No directory component and no wildcard at all -- this
|
||||
* should never happen as in such a simple case there is no
|
||||
* need to expand anything.
|
||||
*/
|
||||
DirExpandPath(word, path, expansions);
|
||||
goto done;
|
||||
@ -825,8 +825,8 @@ Dir_Expand(const char *word, SearchPath *path, StringList *expansions)
|
||||
*/
|
||||
/*
|
||||
* XXX: Check the "the directory is added to the path" part.
|
||||
* It is probably surprising that the directory before a wildcard
|
||||
* gets added to the path.
|
||||
* It is probably surprising that the directory before a
|
||||
* wildcard gets added to the path.
|
||||
*/
|
||||
char *dirpath = Dir_FindFile(prefix, path);
|
||||
free(prefix);
|
||||
|
Loading…
Reference in New Issue
Block a user