]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly implicit.c.~6~
authorRoland McGrath <roland@redhat.com>
Mon, 10 Aug 1992 22:08:41 +0000 (22:08 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 10 Aug 1992 22:08:41 +0000 (22:08 +0000)
implicit.c

index 3cf309f92308d7537b6b58c8a2f1855342b6dd41..c3374d5d99b79d8e20e00b3c5739d670140ccf4f 100644 (file)
@@ -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;