www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/08/04:36:33

Date: Mon, 8 Sep 1997 11:34:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: long/upper files in djgpp zips
In-Reply-To: <199709080350.XAA03475@delorie.com>
Message-ID: <Pine.SUN.3.91.970908113422.4267I-100000@is>
MIME-Version: 1.0

On Sun, 7 Sep 1997, DJ Delorie wrote:

> [1] zip was intentionally calling strlwr() on all file names it put in
>     the zip file.  Bad zip!  Take those lines out of msdos/msdos.c

I don't understand.  I have been creating zip files (with Zip 2.0.1)
for ages with mixed-case filenames.  For example:

	 zip foobar.zip src/libc/crt0/crt0.S

This stores `crt0.S' verbatim in the zip file; no strlwr.  So, to
create a zip with long names and correct letter-case, even on ye olde
DOS, create an .mft file with the right names, then submit it to zip:

	 zip fil316s.zip @manifest/fil316s.mft

(To make the creation of the manifest file easier, I generate it from
the listing of the .tar.gz file, then edit it a little to add
DJGPP-specific files and change illegal names such as Makefile.in.in.)

I didn't look in the sources, but the above works for me.  What do I
miss here?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019