delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/29/10:16:42

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3AEBED10.4768DEC8@phekda.freeserve.co.uk>
Date: Sun, 29 Apr 2001 11:29:36 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re: ANNOUNCE: Fileutils 4.0 beta 2
References: <CAEGKOHJKAAFPKOCLHDIGENNCCAA DOT tim DOT van DOT holder AT pandora DOT be> <9003-Sat28Apr2001092959+0300-eliz AT is DOT elta DOT co DOT il> <3AEA8D4B DOT 6A3DBBEA AT phekda DOT freeserve DOT co DOT uk> <1659-Sat28Apr2001205707+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

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 -


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