diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-02 19:50:49 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-02 19:50:49 +0000 |
commit | b03c66aa1aa60bb7255d3ee9e04694b47eda24d7 (patch) | |
tree | 04f139c8d0a9bfd932b546442ccde6134905396a /usr.bin/make | |
parent | 77e612e8ddc74849d1e0af5991485606f0035f2e (diff) |
Make sure SYSV-style include directives are only matched when there is a
whitespace character after the word "include"
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index f1a6ac0e87a..bc14d48084c 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -2536,6 +2536,7 @@ Parse_File(name, stream) } #ifdef SYSVINCLUDE } else if (strncmp (line, "include", 7) == 0 && + isspace((unsigned char) line[7]) && strchr(line, ':') == NULL) { /* * It's an S3/S5-style "include". |