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: 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-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: Subject: unzip surprise: foo.exe hides foo/ ? From: Dan Kegel To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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