add busybox gunzip/ipkg fix from #2691 (thanks, biblbroks)
[openwrt/svn-archive/archive.git] / package / busybox / patches / 530-gunzip_src_fd.patch
1 diff -Naur a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
2 --- a/archival/libunarchive/decompress_unzip.c 2007-11-10 02:40:48.000000000 +0100
3 +++ b/archival/libunarchive/decompress_unzip.c 2007-11-12 02:34:43.000000000 +0100
4 @@ -1178,6 +1178,7 @@
5 ALLOC_STATE;
6 bytebuffer_max = 0x8000;
7 bytebuffer = xmalloc(bytebuffer_max);
8 + gunzip_src_fd = in;
9
10 again:
11 if (!check_header_gzip(PASS_STATE_ONLY)) {