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

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=YKaFAqNb8j/PKnOw62nAhTzUQnFAY
aKu3h84iOaECxn6xTRW9Pk86Wf7uKjmibnRSW+xWseR752WPtfmc0UZo0KtkjFgg
/tSaK5BP9Cw33c135Ca2ORffSyH4Bf/9nhKtQfQLBeH8kxfjXanegxOIFac21KIO
IZfFlqzZzVNsYU=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=xJtXkryfDyR8Rlsyf5OwNrnXZjY=; b=W2t
OgyzMRNU8LtfUANMEbksJ1wQfhUr//cEwo4bqSKWwZqBm5bMjMt7e3keLakFs+sZ
hqC3PAo5zzi7nF8wIwOvxXtJDQGsW+NlXuKtzRSO98DgX7pGvFunDHdnxYFFmEH6
7wYhBDfkowQs5VgwhZikiaK3BUZKi7H+wloBBXvY=
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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.112.188.161 with SMTP id gb1mr4947585lbc.107.1369965043956; Thu, 30 May 2013 18:50:43 -0700 (PDT)
Date: Thu, 30 May 2013 18:50:43 -0700
Message-ID: <CAPF-yOZmb_CikS6cj9H6-jSa7OgOXpg9uJV=9Wbh1n4+KrPimw@mail.gmail.com>
Subject: unzip surprise: foo.exe hides foo/ ?
From: Dan Kegel <dank AT kegel DOT com>
To: cygwin AT cygwin DOT com

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?  It kind of looks like unzip needs to be
aware of the leaky abstraction...

--
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