Provides: parsing in rpmrc wasn't done properly
authorewt <devnull@localhost>
Tue, 30 Jun 1998 18:52:54 +0000 (18:52 +0000)
committerewt <devnull@localhost>
Tue, 30 Jun 1998 18:52:54 +0000 (18:52 +0000)
CVS patchset: 2160
CVS date: 1998/06/30 18:52:54

lib/depends.c

index 115c5b7..93a1dd9 100644 (file)
@@ -455,7 +455,7 @@ static int unsatisfiedDepend(rpmDependencies rpmdep, char * reqName,
        while ((start = strstr(rcProvidesString, reqName))) {
            if (isspace(start[i]) || !start[i])
                return 0;
-           start += i;
+           rcProvidesString = start + 1;
        }
     }