1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 01:06:46 +02:00
openwrt-xburst/package/busybox/patches/530-gunzip_src_fd.patch
nbd 3c4461ee1a add busybox gunzip/ipkg fix from #2691 (thanks, biblbroks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-12 21:41:25 +00:00

12 lines
445 B
Diff

diff -Naur a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
--- a/archival/libunarchive/decompress_unzip.c 2007-11-10 02:40:48.000000000 +0100
+++ b/archival/libunarchive/decompress_unzip.c 2007-11-12 02:34:43.000000000 +0100
@@ -1178,6 +1178,7 @@
ALLOC_STATE;
bytebuffer_max = 0x8000;
bytebuffer = xmalloc(bytebuffer_max);
+ gunzip_src_fd = in;
again:
if (!check_header_gzip(PASS_STATE_ONLY)) {