From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13587 invoked by alias); 31 May 2013 02:51:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13556 invoked by uid 89); 31 May 2013 02:51:25 -0000 X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_50,BOTNET,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=no version=3.3.1 Received: from vms173005pub.verizon.net (HELO vms173005pub.verizon.net) (206.46.173.5) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 02:51:21 +0000 Received: from [192.168.1.231] ([unknown] [108.20.163.251]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MNN00LFB6L6HQ20@vms173005.mailsrvcs.net> for cygwin@cygwin.com; Thu, 30 May 2013 21:51:11 -0500 (CDT) Message-id: <51A81019.5090006@cygwin.com> Date: Fri, 31 May 2013 04:23:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: unzip surprise: foo.exe hides foo/ ? References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2013-05/txt/msg00463.txt.bz2 On 5/30/2013 9:50 PM, Dan Kegel wrote: > It seems that if a zipfile includes both foo.exe and foo/, unzipping > the zipfile fails like this: > > inflating: /cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test.exe > checkdir error: > /cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test exists > but is not directory > unable to process > yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test/. > > unzip then exits with nonzero status. > > Is that confusion expected? Yes, it is expected. There's lots of discussions about transparently handling the .exe extension in the email archives and the ramifications if you're interested in more details. It's exciting reading. ;-) -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple