summaryrefslogtreecommitdiff
path: root/src/archive.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-16 13:47:26 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-16 13:47:26 +0300
commit0f6d96a4f5a904fd95b96e13715b50befa6a0ee9 (patch)
treee43022707015019f093c14fd1afd2440d6d75ead /src/archive.c
parent6715a0ba12af54767ba889de07afe3543b7c1543 (diff)
downloadapk-tools-0f6d96a4f5a904fd95b96e13715b50befa6a0ee9.tar.gz
apk-tools-0f6d96a4f5a904fd95b96e13715b50befa6a0ee9.tar.bz2
apk-tools-0f6d96a4f5a904fd95b96e13715b50befa6a0ee9.tar.xz
apk-tools-0f6d96a4f5a904fd95b96e13715b50befa6a0ee9.zip
gzip: always autoclose the inner stream
Diffstat (limited to 'src/archive.c')
-rw-r--r--src/archive.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/archive.c b/src/archive.c
index 0a53792..8e55295 100644
--- a/src/archive.c
+++ b/src/archive.c
@@ -255,19 +255,6 @@ int apk_write_tar_entry(struct apk_ostream *os, const struct apk_file_info *ae,
return 0;
}
-int apk_parse_tar_gz(struct apk_bstream *bs, apk_archive_entry_parser parser,
- void *ctx)
-{
- struct apk_istream *is;
- int rc;
-
- is = apk_bstream_gunzip(bs, FALSE);
- rc = apk_parse_tar(is, parser, ctx);
- is->close(is);
-
- return rc;
-}
-
int apk_archive_entry_extract(const struct apk_file_info *ae,
struct apk_istream *is,
const char *fn, apk_progress_cb cb,