Mail Archives: djgpp-workers/1997/09/08/04:36:33
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 -