Formerly vpath.c.~5~

This commit is contained in:
Roland McGrath 1992-11-16 22:49:14 +00:00
parent 7d8fafa4b7
commit 45649948db

View File

@ -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;