]> git.pld-linux.org Git - packages/rpm.git/commitdiff
fixes bug with suggest field, needed by wuch.
authorMichal Moskal <michal@moskal.me>
Mon, 29 Jan 2001 12:01:18 +0000 (12:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-cache.patch -> 1.1

rpm-cache.patch [new file with mode: 0644]

diff --git a/rpm-cache.patch b/rpm-cache.patch
new file mode 100644 (file)
index 0000000..62771b5
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ur rpm-4.0-/lib/depends.c rpm-4.0/lib/depends.c
+--- rpm-4.0-/lib/depends.c     Sun Jan 28 22:08:47 2001
++++ rpm-4.0/lib/depends.c      Sun Jan 28 22:10:40 2001
+@@ -899,8 +899,10 @@
+     /*
+      * Check if dbiOpen/dbiPut failed (e.g. permissions), we can't cache.
++     *
++     * We can't relay on cache when we need sugesstions.
+      */
+-    if (_cacheDependsRC) {
++    if (_cacheDependsRC && suggestion == NULL) {
+       dbiIndex dbi;
+       dbi = dbiOpen(rpmdep->rpmdb, RPMDBI_DEPENDS, 0);
+       if (dbi == NULL)
This page took 0.033421 seconds and 4 git commands to generate.