summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-09 15:06:59 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-04-09 15:06:59 +0300
commitf2957887fb7f80c2dbf6f0b4973c72ca66b0d2e8 (patch)
treef6fc9a45189354580f0f5e54163bfa19dd9227fc /lib/rpmdb.c
parentba6b82d3faca3c5ee703ee16fe97b03892ee479a (diff)
downloadrpm-f2957887fb7f80c2dbf6f0b4973c72ca66b0d2e8.tar.gz
rpm-f2957887fb7f80c2dbf6f0b4973c72ca66b0d2e8.tar.bz2
rpm-f2957887fb7f80c2dbf6f0b4973c72ca66b0d2e8.zip
And now lose db_use_env from rpmdb struct
- Environment is always used, shared if possible private otherwise
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 49da5b22a..d299e9c9d 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -685,7 +685,6 @@ static rpmdb newRpmdb(const char * root, const char * home,
}
db->db_root = rpmGetPath((root && *root) ? root : "/", NULL);
db->db_fullpath = rpmGenPath(db->db_root, db->db_home, NULL);
- db->db_use_env = 1;
/* XXX remove environment after chrooted operations, for now... */
db->db_remove_env = (!rstreq(db->db_root, "/") ? 1 : 0);
db->_dbi = xcalloc(dbiTagsMax, sizeof(*db->_dbi));