diff options
Diffstat (limited to 'usr.bin/make/str.c')
-rw-r--r-- | usr.bin/make/str.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c index bb746dcecd12..b46d187466ba 100644 --- a/usr.bin/make/str.c +++ b/usr.bin/make/str.c @@ -137,8 +137,14 @@ brk_string(str, store_argc) inquote = NULL; else break; - else + else { inquote = ch; + /* Don't miss "" or '' */ + if (start == NULL && p[1] == inquote) { + start = t + 1; + break; + } + } continue; case ' ': case '\t': |