Mail Archives: djgpp-workers/2001/04/29/10:16:42
Hello.
Eli Zaretskii wrote:
>
> > Date: Sat, 28 Apr 2001 10:28:43 +0100
> > From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> >
> > Eli Zaretskii wrote:
> > > No, you are probably right: I see that zip uses findfirst/findnext,
> > > not readdir. I guess Rich still uses an older version of zip (as do
> > > I ;-).
> >
> > It's much, much worse than you imagine. 8) I use The Most Evil Zip
> > Program Known To DJGPP - WinZip - to prepare my packages.
>
> Does that mean WinZip implemented our way of downcasing DOS file
> names? I'd be surprised if they did. Perhaps WinZip was used to
> unpack the original .tar.gz distribution, and that's when the file
> names were downcased?
No, I used djtarx to unpack the Fileutils tarball, before applying patches
and packaging. I just looked in the directory I used to build the package
and files like NEWS are actually NEWS. I had to turn on the "Allow all
uppercase names" option in View -> Folder Options -> View in the Explorer
window, before I could see this. This is on Win98 SE.
I am using WinZip 8.0. WinZip /looks/ like it does some bizarre filename
manipulation, when you look at the list of files in an archive - e.g. NEWS
is listed as "News" in the file list, "news" in the file properties. Using
unzip to look at archives of the Fileutils sources package for DJGPP with
and without "Allow all uppercase names" option set shows that NEWS is
stored as NEWS. So the filenames are stored OK.
Futhermore, extracting with WinZip appears to work. NEWS gets created as
NEWS. But to see it as NEWS in Explorer you need "Allow all uppercase
names" set.
So it looks like Explorer and WinZip are trying to be "helpful" in the way
they present filenames.
Eli, while rummaging around I found an option that may have broken the
Emacs pretests that I extracted with WinZip. In Options -> Configuration
-> Miscellaneous there is an option entitled "TAR file smart CR/LF
conversion". I guess this is similar to unzip's -a option.
So it seems WinZip isn't quite as evil as was previously thought.
Bye, Rich =]
--
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/
- Raw text -