mirror of
https://github.com/mirror/make.git
synced 2025-01-19 16:50:19 +08:00
Formerly vpath.c.~5~
This commit is contained in:
parent
7d8fafa4b7
commit
45649948db
1
vpath.c
1
vpath.c
@ -152,6 +152,7 @@ construct_vpath_list (pattern, dirpath)
|
|||||||
first colon and one nil, the list terminator and
|
first colon and one nil, the list terminator and
|
||||||
increment our estimated number for each colon or blank we find. */
|
increment our estimated number for each colon or blank we find. */
|
||||||
maxelem = 2;
|
maxelem = 2;
|
||||||
|
p = dirpath;
|
||||||
while (*p != '\0')
|
while (*p != '\0')
|
||||||
if (*p++ == ':' || isblank (*p))
|
if (*p++ == ':' || isblank (*p))
|
||||||
++maxelem;
|
++maxelem;
|
||||||
|
Loading…
Reference in New Issue
Block a user