From dc2ffc30e812fc52ad2bf4c11f36a69940f8d1ea Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Fri, 28 Nov 2008 16:28:54 +0200 Subject: io: apk_ostream stuff --- src/archive.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/archive.c') diff --git a/src/archive.c b/src/archive.c index 65622975b2..201412bdc1 100644 --- a/src/archive.c +++ b/src/archive.c @@ -23,10 +23,6 @@ #include "apk_defines.h" #include "apk_archive.h" -#ifndef GUNZIP_BINARY -#define GUNZIP_BINARY "/bin/gunzip" -#endif - struct tar_header { /* ustar header, Posix 1003.1 */ char name[100]; /* 0-99 */ @@ -182,7 +178,7 @@ int apk_parse_tar(struct apk_istream *is, apk_archive_entry_parser parser, int apk_parse_tar_gz(struct apk_bstream *bs, apk_archive_entry_parser parser, void *ctx) { - return apk_parse_tar(apk_gunzip_bstream(bs), parser, ctx); + return apk_parse_tar(apk_bstream_gunzip(bs), parser, ctx); } int apk_archive_entry_extract(const struct apk_file_info *ae, -- cgit v1.2.3