Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Mail-from: cygwin AT cwilson DOT fastmail DOT fm X-Spam-score: 0 X-Spam-hits: BAYES_01, EMAIL_ATTRIBUTION, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES, REPLY_WITH_QUOTES, USER_AGENT_MOZILLA_UA X-Epoch: 1059452616 X-Sasl-enc: YPloWERKljAX9t7gbHZfbA Message-ID: <3F25F644.2090202@cwilson.fastmail.fm> Date: Tue, 29 Jul 2003 00:21:24 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.5.1: unzip problems with binary files in archive References: <16165 DOT 33853 DOT 968862 DOT 592625 AT phish DOT entomo DOT com> <20030729011247 DOT GB3099 AT redhat DOT com> <3F25CACF DOT 945DCBED AT acm DOT org> <20030729011846 DOT GC3099 AT redhat DOT com> In-Reply-To: <20030729011846.GC3099@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher Faylor wrote: >>>>I'm getting a strange error from unzip when trying to extract an >>>>archive that contains binary files. Everything works fine if the >>>>archive contains just text files. >>> >>>Can't duplicate it. Sorry. >> >>I've since discovered that it has to do with the size of the .zip file, >>not the contents. Seems like things work for files <= 8k and fail for >>larger files. > > > I don't understand. You provided a test case. I ran the test case. > It did not fail for me. I --can-- duplicate it. But I don't know why it happens; I'll have to debug it...but not until after I update to 1.5.1. FWIW, zip does use fdopen(). However, I've just suffered a catastrophic server failure on my home network (server's dead), so it may take a while. It's time to go shopping... -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/