delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/30/22:51:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=qYNkv6BqWCvESwch
ZQWUEpnvUXwaywW+umWjEsjkvxU5+R2Ad8Jqr4qq3vyIYUcJK8eOhQJMt8mlRmmG
fW6S/PTph4F4j/YhtFSRhSuDIQf0ighXTZI+UBO3lBZ569ddAmOjnQLccb9u0UQ3
l6CcTk9Eqk+zziOczhEAw9KEC7Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Ygu7ZSSfaA6JhbipN51VhU
6/900=; b=PRrmx8tE++HPOo9s/i8YozEmVl9KyfOIzG14eNt8eRdnK2pawCjylg
MMeD4C717h4YmY18CDPlwf+3pmAtIEUSlUGCPN0fovsU/kn5tett3VhXH0SfxPjz
y9hN6LaYdT99HopSvOQ2uNsX7wHMCmfQLJzRs6od1BwotLLL1KeUk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-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
Message-id: <51A81019.5090006@cygwin.com>
Date: Thu, 30 May 2013 22:51:05 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: unzip surprise: foo.exe hides foo/ ?
References: <CAPF-yOZmb_CikS6cj9H6-jSa7OgOXpg9uJV=9Wbh1n4+KrPimw AT mail DOT gmail DOT com>
In-reply-to: <CAPF-yOZmb_CikS6cj9H6-jSa7OgOXpg9uJV=9Wbh1n4+KrPimw@mail.gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019