Blame rpm-4.11.90-mireskip.patch
|
Panu Matilainen |
a3ae73 |
commit 708fb8c35eff3acacf2b7d197f9ef59fb9551e15
|
|
Panu Matilainen |
a3ae73 |
Author: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
a3ae73 |
Date: Thu Jul 3 13:31:34 2014 +0300
|
|
Panu Matilainen |
a3ae73 |
|
|
Panu Matilainen |
a3ae73 |
Fix db iterator pattern matching (RhBug:1115824)
|
|
Panu Matilainen |
a3ae73 |
|
|
Panu Matilainen |
a3ae73 |
- Should've been in / Fixes a regression introduced in (pick your favorite)
|
|
Panu Matilainen |
a3ae73 |
commit bc871e8fead5fd16f2c51a4a453bddf9994b80ba
|
|
Panu Matilainen |
a3ae73 |
|
|
Panu Matilainen |
a3ae73 |
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
|
|
Panu Matilainen |
a3ae73 |
index be08193..b6d3247 100644
|
|
Panu Matilainen |
a3ae73 |
--- a/lib/rpmdb.c
|
|
Panu Matilainen |
a3ae73 |
+++ b/lib/rpmdb.c
|
|
Panu Matilainen |
a3ae73 |
@@ -1556,9 +1556,7 @@ top:
|
|
Panu Matilainen |
a3ae73 |
* Skip this header if iterator selector (if any) doesn't match.
|
|
Panu Matilainen |
a3ae73 |
*/
|
|
Panu Matilainen |
a3ae73 |
if (mireSkip(mi)) {
|
|
Panu Matilainen |
a3ae73 |
- if (mi->mi_set)
|
|
Panu Matilainen |
a3ae73 |
- goto top;
|
|
Panu Matilainen |
a3ae73 |
- return NULL;
|
|
Panu Matilainen |
a3ae73 |
+ goto top;
|
|
Panu Matilainen |
a3ae73 |
}
|
|
Panu Matilainen |
a3ae73 |
headerSetInstance(mi->mi_h, mi->mi_offset);
|
|
Panu Matilainen |
a3ae73 |
|