aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.xs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-24 09:39:13 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-24 09:39:13 +0000
commit6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e (patch)
treede81e99779044b6f6198eea513589fbf6b4b0f9d /rpmtools.xs
parentb086eb0cb9b6ffeee0f04bf991d5420640d7b784 (diff)
downloadrpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.gz
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.bz2
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.tar.xz
rpmtools-6c9afc93b0181d4e29c9a2dcb23d5760dfe02c2e.zip
4.1-2mdk
Diffstat (limited to 'rpmtools.xs')
-rw-r--r--rpmtools.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmtools.xs b/rpmtools.xs
index 975ad89..7543e4c 100644
--- a/rpmtools.xs
+++ b/rpmtools.xs
@@ -552,6 +552,8 @@ _parse_(fileno_or_rpmfile, flag, info, ...)
/* continue loop for hdlist */
if (fd_is_hdlist)
header=headerRead(fd, HEADER_MAGIC_YES);
+ else
+ header=0;
}
fdClose(fd);
} else croak("bad arguments list");