summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-06-18 13:08:18 +0000
committerache <ache@FreeBSD.org>1995-06-18 13:08:18 +0000
commitb93930422d07897026a30da6b2cb9ef0a9c20744 (patch)
tree0fe2cc5b2747b80d2ff26b463bb449c71a827a00 /usr.bin/make
parent5b84039fb3ea9614bccce9c2e800251228ab7e7c (diff)
downloadFreeBSD-src-b93930422d07897026a30da6b2cb9ef0a9c20744.zip
FreeBSD-src-b93930422d07897026a30da6b2cb9ef0a9c20744.tar.gz
Fix parsing SYSV/GNU "include"
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 2263a52..846ce30 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -2439,6 +2439,7 @@ Parse_File(name, stream)
}
#ifdef SYSVINCLUDE
} else if (strncmp (line, "include", 7) == 0 &&
+ isspace(line[7]) &&
strchr(line, ':') == NULL) {
/*
* It's an S3/S5-style "include".
OpenPOWER on IntegriCloud