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:
90dffad
)
(set_file_variables): Add parens in length computation in .SUFFIXES dep
author
Roland McGrath
<roland@redhat.com>
Mon, 25 Jul 1994 22:09:25 +0000
(22:09 +0000)
committer
Roland McGrath
<roland@redhat.com>
Mon, 25 Jul 1994 22:09:25 +0000
(22:09 +0000)
loop to quiet compiler warning. From Jim Meyering.
commands.c
patch
|
blob
|
history
diff --git
a/commands.c
b/commands.c
index
3967302
..
266bdea
100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-87,7
+87,7
@@
set_file_variables (file)
for (d = enter_file (".SUFFIXES")->deps; d != 0; d = d->next)
{
unsigned int slen = strlen (dep_name (d));
- if (len > slen && !strncmp (dep_name (d), name +
len - slen
, slen))
+ if (len > slen && !strncmp (dep_name (d), name +
(len - slen)
, slen))
{
file->stem = savestring (name, len - slen);
break;