Mail Archives: djgpp/1996/12/26/19:48:14
Newsgroups: | comp.os.msdos.djgpp
|
From: | Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
|
Subject: | Re: Gzip patch for LFN support under DJGPP v2.x
|
Message-ID: | <Pine.SGI.3.91.961226113715.2883A-100000@chinook.physics.utoronto.ca>
|
Nntp-Posting-Host: | chinook.physics.utoronto.ca
|
Sender: | news AT info DOT physics DOT utoronto DOT ca (System Administrator)
|
Mime-Version: | 1.0
|
Organization: | University of Toronto - Dept. of Physics
|
In-Reply-To: | <9612261513.AA10792@sdc21.>
|
Date: | Thu, 26 Dec 1996 16:52:42 GMT
|
Lines: | 36
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On Thu, 26 Dec 1996, Jean-loup Gailly wrote:
> > The current version of gzip does not handle long file names properly
> > under Win95, as offered by the current version of DJGPP.
>
> Thanks for your patches. But why don't you use the Win95 version of
> gzip instead of using a DOS program under Win95?
> ftp://ftp.uu.net/pub/archiving/zip/WIN32/gzip124xN.zip
My pleasure.
I didn't know there was a gzip for Win95 - nobody mentioned it on the
DJGPP newsgroup, so maybe I'm not the only one. Still, when working with
DJGPP you're usually in a DOS box so it's handy to have the cmd line
version.
I'll cc this message to the newsgroup so everyone will know.
By the way, the patch I sent you does not check that it's being compiled
with DJGPP v2.x - I've fixed that. Also gzip does not automatically
restore the name saved in the compressed file when using short
filenames. (I know that was intentional, but its a pain if the file
extension was changed rather than just an extra .gz extension tacked
on.) I've added a patch that will restore the name automatically, only
if LFN support is off.
I've attached the new patch. The first fix is in tailor.pat only, the
second is in gzip.pat only (these are patches to the original dist, not to
my previous patches). If you prefer to leave the old filename extension
behaviour, just use the previous gzip.pat instead.
---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto
- Raw text -