summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-06-30 18:52:54 +0000
committerewt <devnull@localhost>1998-06-30 18:52:54 +0000
commit51ec6e32a0a6d2491392bd938e5a01c708fc1108 (patch)
treeb82864e765dacc1b18344ba6907aef6017f79cfa
parentbfc226e9ad87110c9aa0f0d3466135e0f8f47050 (diff)
downloadlibrpm-tizen-51ec6e32a0a6d2491392bd938e5a01c708fc1108.tar.gz
librpm-tizen-51ec6e32a0a6d2491392bd938e5a01c708fc1108.tar.bz2
librpm-tizen-51ec6e32a0a6d2491392bd938e5a01c708fc1108.zip
Provides: parsing in rpmrc wasn't done properly
CVS patchset: 2160 CVS date: 1998/06/30 18:52:54
-rw-r--r--lib/depends.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/depends.c b/lib/depends.c
index 115c5b7a4..93a1dd91b 100644
--- a/lib/depends.c
+++ b/lib/depends.c
@@ -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;
}
}