aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-17 16:25:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-17 16:25:14 +0000
commit6111ce37d4a132972730ee29525d246000c28311 (patch)
tree2ab715118cb453f2d18bb58b7b6e9c1496467a59 /URPM.xs
parenta684773347534dae69c29f4a3e6006b2b6541a2a (diff)
downloadperl-URPM-6111ce37d4a132972730ee29525d246000c28311.tar
perl-URPM-6111ce37d4a132972730ee29525d246000c28311.tar.gz
perl-URPM-6111ce37d4a132972730ee29525d246000c28311.tar.bz2
perl-URPM-6111ce37d4a132972730ee29525d246000c28311.tar.xz
perl-URPM-6111ce37d4a132972730ee29525d246000c28311.zip
- parse_hdlist on a simple header was broken because pid was left unset,
- add some tests for this
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 3542f15..c5e8b10 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3077,7 +3077,7 @@ Urpm_parse_hdlist__XS(urpm, filename, ...)
HV *provides = fprovides && SvROK(*fprovides) && SvTYPE(SvRV(*fprovides)) == SVt_PVHV ? (HV*)SvRV(*fprovides) : NULL;
if (depslist != NULL) {
- pid_t pid;
+ pid_t pid = 0;
int d;
int empty_archive = 0;
FD_t fd;