This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: two problems with cygwin's zip
- To: 'cygwin' <cygwin at sourceware dot cygnus dot com>
- Subject: RE: two problems with cygwin's zip
- From: John Wiersba <John dot Wiersba at medstat dot com>
- Date: Tue, 26 Jun 2001 14:09:53 -0400
> -----Original Message-----
> From: Fred T. Hamster [mailto:fred@gruntose.com]
> Sent: Tuesday, June 26, 2001 12:04 PM
> To: cygwin@cygwin.com
> Subject: Re: two problems with cygwin's zip
>
>
> the first problem (of seeing absolute paths in zips) occurs
> when using
> forward slashes as well. it's an absolute path issue rather than a
> slash-handedness issue. thus, this is still a bug relevant
> to cygwin's
> zip, even if we must discount slash issues in paths. but i don't
> suggest that we abandon those issues...
My version of zip seems to remove leading / in the archive? Yours doesn't?
$ /usr/bin/zip ./asdf.zip /bin/ls.exe
adding: bin/ls.exe (deflated 53%) <= note: no leading /
> it seems pretty disturbing to me that a unix emulation environment
> running under ms-windows would have many problems parsing
> ms-dos paths.
I agree with the previous responses about this. Cygwin's job is not to port
every tool to handle Windows pathnames natively, but to allow unix tools to
function in a unix-like way under Windows.
What about using cygpath to convert the paths before passing them to zip?
-- John Wiersba
--
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/