delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3B3A6C22.5000904@ece.gatech.edu> |
Date: | Wed, 27 Jun 2001 19:28:34 -0400 |
From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT 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 AT mscha DOT com> |
CC: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: Patch for zip to deal with dos paths |
References: | <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010628002331 DOT 03716288 AT imap DOT mscha DOT org> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |