aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-10 11:39:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-10 11:39:10 +0000
commit72b3c5a718483555154a3c7fa73caa770142cef9 (patch)
tree19880c31a0d57df2e0927a7469271bf12936982d /URPM.xs
parentd3b3fc73171973d8fc04ac7319e345d971fc6797 (diff)
downloadperl-URPM-72b3c5a718483555154a3c7fa73caa770142cef9.tar
perl-URPM-72b3c5a718483555154a3c7fa73caa770142cef9.tar.gz
perl-URPM-72b3c5a718483555154a3c7fa73caa770142cef9.tar.bz2
perl-URPM-72b3c5a718483555154a3c7fa73caa770142cef9.tar.xz
perl-URPM-72b3c5a718483555154a3c7fa73caa770142cef9.zip
get rid of fdFileno()
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 ae438be..4805d4a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3417,7 +3417,7 @@ Urpm_parse_hdlist__XS(urpm, filename, ...)
if (empty_archive) {
XPUSHs(sv_2mortal(newSViv(1 + av_len(depslist))));
XPUSHs(sv_2mortal(newSViv(av_len(depslist))));
- } else if (fdFileno(fd) >= 0) {
+ } else if (d >= 0 && fd) {
Header header;
int start_id = 1 + av_len(depslist);
int packing = 0;