From b22676afdf5cb21eef4df49cb713e530f5a7f5d9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 30 Sep 2002 09:15:02 +0000 Subject: [PATCH] gzip 1.3.5 --- NEWS | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++- README | 57 ++++++++++++++++++++++++++++-------------------- revision.h | 4 ++-- 3 files changed, 98 insertions(+), 27 deletions(-) diff --git a/NEWS b/NEWS index ef5f833..6fff8ac 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,46 @@ -Current Version: 1.2.4. +Current Version: 1.3.5. See the file ChangeLog for the details of all changes. +Major changes from 1.3.4 to 1.3.5 +* gzip now removes any output symlink before writing output file. +* zgrep etc. scripts now port to POSIX 1003.1-2001 hosts. +* zforce no longer assumes 14-byte file name length limit. +* zless is now implemented using less and LESSOPEN, not zmore and PAGER. +* assembly-language speedups reenabled; were mistakenly disabled in 1.3. + +Major changes from 1.3.3 to 1.3.4 +* Less output is lost when decompressing a truncated file. +* The manual is now distributed under the terms of the GNU Free + Documentation License. + +No major changes in 1.3.2 or 1.3.3 (bug fixes only) + +Major changes from 1.3 to 1.3.1 +* zgrep now supports --, -H, -h, -L, -l, -C, -d, -m and their long equivalents. + +Major changes from 1.2.4 to 1.3 +* Add support for large files, e.g. files larger than 2 GB on Solaris 2.6. +* Adjust file size listing format for files larger than 10 GB. +* New command `zless'. +* `zdiff' now reports exit status like `diff' does. +* `zcat' is now always called `zcat', not `gzcat'. + Similarly for `zdiff', `zgrep', `zmore', `znew', `zforce'. +* Warn about a compressed file's trailing zeros only if verbose, + for compatibility with recent versions of GNU tar. +* Conform to changes to GNU makefile standards. +* Port to Autoconf 2.13. +* Convert to Automake. +* Fix bugs in the following areas: + - files larger than 4 GB + - security hole involving symlinks from /tmp + - security hole involving long file names + - permissions bug when compressing a symbolic link to a file + - core dumps + - concatenated compressed files on INBUFSIZ boundaries + - porting bugs on hosts with signed chars + - porting bug with upper and lower case + - porting bug for hosts that reserve the names `basename' or `warning' + Major changes from 1.2.3 to 1.2.4 * By default, do not restore file name and timestamp from those saved inside the .gz file (behave as 'compress'). Added the --name option @@ -219,3 +259,25 @@ Major changes form 0.5 to 0.6: * Use environment variable PAGER in zmore if it is defined. * Accept gzcat in addition to zcat for people having /usr/bin before /usr/local/bin in their path. + + + +Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. +Copyright (C) 1992, 1993 Jean-loup Gailly + +This file is part of GNU tar. + +GNU tar is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU tar is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with tar; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. diff --git a/README b/README index fdd7311..48373d0 100644 --- a/README +++ b/README @@ -1,4 +1,25 @@ -This is the file README for the gzip distribution, version 1.2.4. +This is the file README for the gzip distribution, test version 1.3.5. + + Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1992, 1993 Jean-loup Gailly + + This file is part of gzip (GNU zip). + + gzip is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + gzip is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with tar; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + gzip (GNU zip) is a compression utility designed to be a replacement for 'compress'. Its main advantages over compress are much better @@ -39,10 +60,9 @@ For all machines, use "make check" to check that gzip was compiled correctly. Try compiling gzip without any optimization if you have a problem. -Please send all comments and bug reports by electronic mail to: - Jean-loup Gailly +Please send all comments and bug reports by electronic mail to +. -or, if this fails, to bug-gnu-utils@prep.ai.mit.edu. Bug reports should ideally include: * The complete output of "gzip -V" (or the contents of revision.h @@ -55,19 +75,14 @@ Bug reports should ideally include: If you send me patches for machines I don't have access to, please test them very carefully. gzip is used for backups, it must be extremely reliable. -The package crypt++.el is highly recommended to manipulate gzip'ed -file from emacs. It recognizes automatically encrypted and compressed -files when they are first visited or written. It is available via -anonymous ftp to roebling.poly.edu [128.238.5.31] in /pub/crypt++.el. -The same directory contains also patches to dired, ange-ftp and info. GNU tar 1.11.2 has a -z option to invoke directly gzip, so you don't have to patch it. The package ftp.uu.net:/languages/emacs-lisp/misc/jka-compr19.el.Z also supports gzip'ed files. The znew and gzexe shell scripts provided with gzip benefit from (but do not require) the cpmod utility to transfer file attributes. -It is available by anonymous ftp on gatekeeper.dec.com in -/.0/usenet/comp.sources.unix/volume11/cpmod.Z. +It is available in +ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume11/cpmod.Z. The sample programs zread.c, sub.c and add.c in subdirectory sample are provided as examples of useful complements to gzip. Read the @@ -78,21 +93,18 @@ provided as example (not installed by default since it relies on perl). gzip is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License, a copy of which is provided under the name COPYING. The latest version of gzip are always -available by ftp in prep.ai.mit.edu:/pub/gnu, or in any of the prep -mirror sites: +available from ftp://ftp.gnu.org/gnu/gzip or in any of the gnu +mirror sites. - sources in gzip-*.tar (or .shar or .tar.gz). -- Solaris 2 executables in sparc-sun-solaris2/gzip-binaries-*.tar - MSDOS lha self-extracting exe in gzip-msdos-*.exe. Once extracted, copy gzip.exe to gunzip.exe and zcat.exe, or use "gzip -d" to decompress. - gzip386.exe runs much faster but only on 386 and above; it is compiled with + gzip386.exe runs much faster but only on 386 and above; it was compiled with djgpp 1.10 available in directory omnigate.clarkson.edu:/pub/msdos/djgpp. -A VMS executable is available in ftp.spc.edu:[.macro32.savesets]gzip-1-*.zip +A VMS executable is in ftp://ftp.spc.edu/[.macro32.savesets]gzip-1-*.zip (use [.macro32]unzip.exe to extract). A PRIMOS executable is available -in ftp.lysator.liu.se:/pub/primos/run/gzip.run. -OS/2 executables (16 and 32 bits versions) are available in -ftp.tu-muenchen.de:/pub/comp/os/os2/archiver/gz*-[16,32].zip +in ftp://ftp.lysator.liu.se/pub/primos/run/gzip.run. Some ftp servers can automatically make a tar.Z from a tar file. If you are getting gzip for the first time, you can ask for a tar.Z file @@ -123,7 +135,7 @@ gzip header format is deliberately different from that of pkzip to avoid such a constraint. On Unix, gzip is mostly useful in combination with tar. GNU tar -1.11.2 has a -z option to invoke gzip automatically. "tar -z" +1.11.2 and later has a -z option to invoke gzip automatically. "tar -z" compresses better than zip, since gzip can then take advantage of redundancy between distinct files. The drawback is that you must scan the whole tar.gz file in order to extract a single file near @@ -138,7 +150,4 @@ gzip and gunzip are distributed as a single program. zip and unzip are, for historical reasons, two separate programs, although the authors of these two programs work closely together in the info-zip team. zip and unzip are not associated with the GNU project. -The sources are available by ftp in - - oak.oakland.edu:/pub/misc/unix/zip19p1.zip - oak.oakland.edu:/pub/misc/unix/unz50p1.tar-z +See http://www.cdrom.com/pub/infozip/ for more about zip and unzip. diff --git a/revision.h b/revision.h index 9bbb5a9..8013b1b 100644 --- a/revision.h +++ b/revision.h @@ -1,12 +1,12 @@ /* revision.h -- define the version number + * Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. * Copyright (C) 1992-1993 Jean-loup Gailly. * This is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License, see the file COPYING. */ -#define VERSION "1.2.4" #define PATCHLEVEL 0 -#define REVDATE "18 Aug 93" +#define REVDATE "2002-09-30" /* This version does not support compression into old compress format: */ #ifdef LZW -- 2.47.2