]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-ds.patch
- updated for 4.4.9
[packages/rpm.git] / rpm-ds.patch
CommitLineData
b5e8e5e1
AM
1diff -urN rpm-4.4.8.org/lib/rpmds.c rpm-4.4.8/lib/rpmds.c
2--- rpm-4.4.8.org/lib/rpmds.c 2007-01-21 20:47:20.000000000 +0100
3+++ rpm-4.4.8/lib/rpmds.c 2007-05-19 21:10:19.142894810 +0200
4@@ -1029,7 +1029,7 @@
5 i = -1;
6 if (l < u) {
7 int save = rpmdsSetIx(ds, l-1);
8- while (rpmdsNext(ds) < u) {
9+ while ((l = rpmdsNext(ds)) >= 0 && (l < u)) {
10 if ((i = rpmdsCompare(ods, ds)) != 0)
11 break;
12 }
This page took 0.030263 seconds and 4 git commands to generate.