diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 11:39:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 11:39:10 +0000 |
commit | 72b3c5a718483555154a3c7fa73caa770142cef9 (patch) | |
tree | 19880c31a0d57df2e0927a7469271bf12936982d | |
parent | d3b3fc73171973d8fc04ac7319e345d971fc6797 (diff) | |
download | perl-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()
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |