]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-cache.patch
- first step to upcomming 4.0.4
[packages/rpm.git] / rpm-cache.patch
CommitLineData
1559ec33
MM
1diff -ur rpm-4.0-/lib/depends.c rpm-4.0/lib/depends.c
2--- rpm-4.0-/lib/depends.c Sun Jan 28 22:08:47 2001
3+++ rpm-4.0/lib/depends.c Sun Jan 28 22:10:40 2001
4@@ -899,8 +899,10 @@
5
6 /*
7 * Check if dbiOpen/dbiPut failed (e.g. permissions), we can't cache.
8+ *
9+ * We can't relay on cache when we need sugesstions.
10 */
11- if (_cacheDependsRC) {
12+ if (_cacheDependsRC && suggestion == NULL) {
13 dbiIndex dbi;
14 dbi = dbiOpen(rpmdep->rpmdb, RPMDBI_DEPENDS, 0);
15 if (dbi == NULL)
This page took 0.532079 seconds and 4 git commands to generate.