public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - Fix wildcard database iterator (#1115824)
@ 2026-11-23  9:29 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : a3ae732fc9133199847584a2cfe78c8f7ab9007e
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2014-07-03T13:43:42+03:00
Stats  : +29/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/a3ae732fc9133199847584a2cfe78c8f7ab9007e?branch=pmatilai-v6

Log:
- Fix wildcard database iterator (#1115824)

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

diff --git a/rpm.spec b/rpm.spec
index c205d95..4d3c24a 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}4%{?dist}
+Release: %{?snapver:0.%{snapver}.}5%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -51,6 +51,7 @@ Patch4: rpm-4.8.1-use-gpg2.patch
 Patch100: rpm-4.11.90-hardlink-groups.patch
 Patch101: rpm-4.11.90-expand-load-arg.patch
 Patch102: rpm-4.11.90-arm-vfp3.patch
+Patch103: rpm-4.11.90-mireskip.patch
 
 # These are not yet upstream
 Patch302: rpm-4.7.1-geode-i686.patch
@@ -529,6 +530,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Thu Jul 03 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.90-0.git12844.5
+- Fix wildcard database iterator (#1115824)
+
 * Wed Jul 02 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.90-0.git12844.4
 - Use autosetup for building rpm itself
 - Hopefully fix armv7 vfp/neon detection

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:29 [rpms/rpm] pmatilai-v6: - Fix wildcard database iterator (#1115824) Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox