Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3B3A6C22.5000904@ece.gatech.edu>
Date: Wed, 27 Jun 2001 19:28:34 -0400
From: "Charles S. Wilson" <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Schaap <cygwin@mscha.com>
CC: cygwin <cygwin@cygwin.com>
Subject: Re: Patch for zip to deal with dos paths
References: <5.1.0.14.2.20010628002331.03716288@imap.mscha.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I will take a look after I get back -- I'm leaving town for a few days 
starting tonight.

--Chuck
zip/unzip maintainer

Michael Schaap wrote:

> Hi all,
> 
> For what it's worth.  Here's a patch to zip that fixes the behaviour 
> with regard to dos path names.  It deals with two issues:
>  - backslashes are converted to slashes,
>  - drive names are stripped when converting an absolute to relative path.
> 
> The behaviour of cygwin zip with this patch is the same as the native 
> win32 version.  In fact, the code added to unix/unix.c essentially comes 
> from win32/win32zip.c (slightly simplified).
> 
> Of course, this breaks the feature of using NTFS streams with a single 
> character file name.  ;-)
> 
> Take it or leave it,
> 
>  - Michael
> 
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

