aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-04 22:26:22 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-04 22:26:22 +0000
commita3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1 (patch)
tree77f4bf42e93fb876369b4cdaed1fb1b159ee0358 /URPM.xs
parent704f3ca524156d5851c7bd01d0566536e221f141 (diff)
downloadperl-URPM-a3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1.tar
perl-URPM-a3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1.tar.gz
perl-URPM-a3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1.tar.bz2
perl-URPM-a3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1.tar.xz
perl-URPM-a3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1.zip
- Urpm_read_config_files properly return the value to perl
- kill useless var dcl
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs5
1 files changed, 3 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index c27e362..c7761f6 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1337,7 +1337,6 @@ Pkg_is_arch_compat(pkg)
INIT:
char * platform;
CODE:
- char * arch;
read_config_files(0);
if (pkg->info) {
char *arch;
@@ -3033,7 +3032,9 @@ Urpm_bind_rpm_textdomain_codeset()
int
Urpm_read_config_files()
CODE:
- return(read_config_files(1) == 0); /* force re-read of configuration files */
+ RETVAL = (read_config_files(1) == 0); /* force re-read of configuration files */
+ OUTPUT:
+ RETVAL
void
Urpm_list_rpm_tag(urpm=Nullsv)