rpm/rpm-5.2.1-disable_rpmmi_usermem.patch

13 lines
415 B
Diff

diff -Nru rpm-5.2.1.orig//rpmdb/rpmdb.c rpm-5.2.1/rpmdb/rpmdb.c
--- rpm-5.2.1.orig//rpmdb/rpmdb.c 2009-05-23 17:50:03.000000000 +0200
+++ rpm-5.2.1/rpmdb/rpmdb.c 2010-12-27 16:20:57.740221701 +0100
@@ -2449,7 +2449,7 @@
return rc;
}
-static int _rpmmi_usermem = 1;
+static int _rpmmi_usermem = 0;
static int rpmmiGet(dbiIndex dbi, DBC * dbcursor, DBT * kp, DBT * vp,
unsigned int flags)