aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-18 17:20:34 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-18 17:20:34 +0000
commitf9f97ced774b9e2022b88fb5f5ada645151644d9 (patch)
tree929c55976b7c761163fa38a1f65ed6ccc00f1ac4
parentf7e8feba9f045913023495097afad4bd88890f25 (diff)
downloadperl-URPM-f9f97ced774b9e2022b88fb5f5ada645151644d9.tar
perl-URPM-f9f97ced774b9e2022b88fb5f5ada645151644d9.tar.gz
perl-URPM-f9f97ced774b9e2022b88fb5f5ada645151644d9.tar.bz2
perl-URPM-f9f97ced774b9e2022b88fb5f5ada645151644d9.tar.xz
perl-URPM-f9f97ced774b9e2022b88fb5f5ada645151644d9.zip
pass NULL for default prefix to rpmtsSetRootDir()
it gracelly handles it
-rw-r--r--URPM.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index 476253e..3b9aedb 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2428,7 +2428,7 @@ Db_open(prefix=NULL, write_perm=0)
RETVAL
int
-Db_rebuild(prefix="")
+Db_rebuild(prefix=NULL)
char *prefix
PREINIT:
rpmts ts;
@@ -2442,7 +2442,7 @@ Db_rebuild(prefix="")
RETVAL
int
-Db_verify(prefix="")
+Db_verify(prefix=NULL)
char *prefix
PREINIT:
rpmts ts;
@@ -3238,7 +3238,7 @@ Urpm_get_gpg_fingerprint(filename)
char *
-Urpm_verify_signature(filename, prefix="/")
+Urpm_verify_signature(filename, prefix=NULL)
char *filename
char *prefix
PREINIT: