public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - Continue ordering loop elimination as long as progress is made (#437041)
@ 2026-11-23 9:24 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 7f2427d0a137607e32d952b0666f394cc3f3d975
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2008-03-12T07:10:17+00:00
Stats : +31/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/7f2427d0a137607e32d952b0666f394cc3f3d975?branch=pmatilai-v6
Log:
- Continue ordering loop elimination as long as progress is made (#437041)
---
diff --git a/rpm-4.4.2.3-no-order-rescan-limit.patch b/rpm-4.4.2.3-no-order-rescan-limit.patch
new file mode 100644
index 0000000..a88ef7e
--- /dev/null
+++ b/rpm-4.4.2.3-no-order-rescan-limit.patch
@@ -0,0 +1,25 @@
+diff -up rpm-4.4.2.3-rc1/lib/depends.c.no-limit rpm-4.4.2.3-rc1/lib/depends.c
+--- rpm-4.4.2.3-rc1/lib/depends.c.no-limit 2008-03-12 08:40:08.000000000 +0200
++++ rpm-4.4.2.3-rc1/lib/depends.c 2008-03-12 08:58:15.000000000 +0200
+@@ -1229,7 +1229,7 @@ int rpmtsOrder(rpmts ts)
+ int numOrderList;
+ int npeer = 128; /* XXX more than deep enough for now. */
+ int * peer = memset(alloca(npeer*sizeof(*peer)), 0, (npeer*sizeof(*peer)));
+- int nrescans = 10;
++ int nrescans = 0;
+ int _printed = 0;
+ char deptypechar;
+ size_t tsbytes;
+@@ -1563,8 +1563,10 @@ rescan:
+
+ /* If a relation was eliminated, then continue sorting. */
+ /* XXX TODO: add control bit. */
+- if (nzaps && nrescans-- > 0) {
+- rpmMessage(RPMMESS_DEBUG, _("========== continuing tsort ...\n"));
++ if (nzaps > 0) {
++ rpmMessage(RPMMESS_DEBUG,
++ _("========== continuing tsort ... (rescan %d)\n"),
++ ++nrescans);
+ goto rescan;
+ }
+
diff --git a/rpm.spec b/rpm.spec
index 0f5f888..83357b6 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -6,7 +6,7 @@
Summary: The RPM package management system
Name: rpm
Version: 4.4.2.3
-Release: 0.2.rc1
+Release: 0.3.rc1
Group: System Environment/Base
Url: http://www.rpm.org/
Source: http://rpm.org/releases/rpm-4.4.x/%{name}-%{version}-rc1.tar.gz
@@ -21,6 +21,7 @@ Patch8: rpm-4.4.2.3-nss.patch
Patch9: rpm-4.4.2.2-autofoo.patch
Patch10: rpm-4.4.2.2-pkgconfig-path.patch
Patch11: rpm-4.4.2.3-queryformat-arch.patch
+Patch12: rpm-4.4.2.3-no-order-rescan-limit.patch
Patch50: rpm-4.4.2.3-geode-instplat.patch
@@ -145,6 +146,7 @@ that will manipulate RPM packages and databases.
%patch9 -p1 -b .autofoo
%patch10 -p1 -b .pkgconfig-path
%patch11 -p1 -b .qfmt-arch
+%patch12 -p1 -b .no-order-limit
%patch50 -p1 -b .geode-instplat
@@ -399,6 +401,9 @@ exit 0
%endif
%changelog
+* Wed Mar 12 2008 Panu Matilainen <pmatilai@redhat.com> 4.4.2.3-0.3.rc1
+- Continue ordering loop elimination as long as progress is made (#437041)
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.4.2.3-0.2.rc1
- Autorebuild for GCC 4.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:24 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:24 [rpms/rpm] pmatilai-v6: - Continue ordering loop elimination as long as progress is made (#437041) Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox