From 0f6d96a4f5a904fd95b96e13715b50befa6a0ee9 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Thu, 16 Jul 2009 13:47:26 +0300 Subject: gzip: always autoclose the inner stream --- src/archive.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/archive.c') diff --git a/src/archive.c b/src/archive.c index 0a53792cf1..8e55295b5e 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, -- cgit v1.2.3