aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 09:15:16 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-14 09:15:16 +0000
commit29045a1ba93fe0984e97968ad82ac9ebb17adc4b (patch)
tree3afd833b68621ee57644da0642b020a2fc0c1dcc /URPM.xs
parentbf59921c628c1d4e93bffa90f1036b2ee301e02d (diff)
downloadperl-URPM-29045a1ba93fe0984e97968ad82ac9ebb17adc4b.tar
perl-URPM-29045a1ba93fe0984e97968ad82ac9ebb17adc4b.tar.gz
perl-URPM-29045a1ba93fe0984e97968ad82ac9ebb17adc4b.tar.bz2
perl-URPM-29045a1ba93fe0984e97968ad82ac9ebb17adc4b.tar.xz
perl-URPM-29045a1ba93fe0984e97968ad82ac9ebb17adc4b.zip
really consistently use NULL as default rpm root argument
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index d16a4ad..729ea7a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3722,7 +3722,7 @@ Urpm_verify_rpm(filename, ...)
} else {
read_config_files(0);
ts = rpmtsCreate();
- rpmtsSetRootDir(ts, "/");
+ rpmtsSetRootDir(ts, NULL);
rpmtsOpenDB(ts, O_RDONLY);
if (rpmVerifySignatures(&qva, ts, fd, filename)) {
RETVAL = 0;