summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-03 20:33:53 +0000
committerjbj <devnull@localhost>1999-11-03 20:33:53 +0000
commit94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5 (patch)
tree4f780c9b46898133105da7b2454d85ae8003edb7 /rpm2cpio.c
parent85d4129c7bedafd466625fd4400ea5607e2f09a1 (diff)
downloadrpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.tar.gz
rpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.tar.bz2
rpm-94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5.zip
First use of libio.
CVS patchset: 3416 CVS date: 1999/11/03 20:33:53
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index a791f0d50..4913fe0bc 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -40,7 +40,11 @@ int main(int argc, char **argv)
break;
}
+#if 0
gzdi = gzdFdopen(fdi, "r"); /* XXX gzdi == fdi */
+#else
+ gzdi = Fdopen(fdi, "r.gzdio"); /* XXX gzdi == fdi */
+#endif
while ((ct = Fread(buffer, sizeof(buffer), 1, gzdi)) > 0) {
Fwrite(buffer, ct, 1, fdo);