summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-08-10 22:08:41 +0000
committerRoland McGrath <roland@redhat.com>1992-08-10 22:08:41 +0000
commit423783c913624b0ce06e48074fc8ba3a4c9706e5 (patch)
tree2d2111f1beec39610c077612cf1ea96fad528124
parentccff1cc0d28d7bce8d5277a767ab8dd173013110 (diff)
downloadgunmake-423783c913624b0ce06e48074fc8ba3a4c9706e5.tar.gz
Formerly implicit.c.~6~
-rw-r--r--implicit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/implicit.c b/implicit.c
index 3cf309f..c3374d5 100644
--- a/implicit.c
+++ b/implicit.c
@@ -559,8 +559,7 @@ pattern_search (file, archive, depth, recursions)
bcopy (stem, p, stemlen);
p += stemlen;
bcopy (rule->suffixes[i], p,
- rule->lens[i]
- - (rule->suffixes[i] - rule->targets[i] - 1) + 1);
+ rule->lens[i] - (rule->suffixes[i] - rule->targets[i]) + 1);
new->file = enter_file (new->name);
new->next = file->also_make;
file->also_make = new;