projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8fafa
)
Formerly vpath.c.~5~
author
Roland McGrath
<roland@redhat.com>
Mon, 16 Nov 1992 22:49:14 +0000
(22:49 +0000)
committer
Roland McGrath
<roland@redhat.com>
Mon, 16 Nov 1992 22:49:14 +0000
(22:49 +0000)
vpath.c
patch
|
blob
|
history
diff --git
a/vpath.c
b/vpath.c
index
986a18a
..
d804150
100644
(file)
--- a/
vpath.c
+++ b/
vpath.c
@@
-152,6
+152,7
@@
construct_vpath_list (pattern, dirpath)
first colon and one nil, the list terminator and
increment our estimated number for each colon or blank we find. */
maxelem = 2;
+ p = dirpath;
while (*p != '\0')
if (*p++ == ':' || isblank (*p))
++maxelem;