public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - Fix wildcard database iterator (#1115824)
Date: Mon, 23 Nov 2026 09:29:00 GMT [thread overview]
Message-ID: <179542614039.1.12826796013078840996.rpms-rpm-a3ae732fc913@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-23 9:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542614039.1.12826796013078840996.rpms-rpm-a3ae732fc913@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox