diff options
author | 1996-03-02 19:50:48 +0000 | |
---|---|---|
committer | 1996-03-02 19:50:48 +0000 | |
commit | 7d2e20b0184db8f1acf83370e7391b20e271e652 (patch) | |
tree | da6eab8f2ae19f155ce3daa9d31f37e2e759e1c9 | |
parent | Using TCP broke ypxfr -C which in turn caused yppush to fail on the (diff) | |
download | wireguard-openbsd-7d2e20b0184db8f1acf83370e7391b20e271e652.tar.xz wireguard-openbsd-7d2e20b0184db8f1acf83370e7391b20e271e652.zip |
Make sure SYSV-style include directives are only matched when there is a
whitespace character after the word "include"
-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". |