1 Major changes in Gzip 1.3.7 (not yet released)
3 * Fix some gzip problems:
4 - Refuse to compress setuid or setgid files, or files with the sticky bit.
5 - Fix more race conditions in setting file permissions and owner.
6 - Fix a core dump caused by a stray abort mistakenly introduced in 1.3.6.
7 * Fix some gzexe problems:
8 - Improve resistance to denial-of-service attacks.
9 - Fix some quoting and escaping bugs.
10 - Do not assume /tmp is sticky (though it should be!).
11 - Do not assume the working directory can be written.
12 - Rely on PATH in the generated executable, as the man page says.
13 - Don't assume IFS is sane.
14 - Exit with signal's status, if signaled.
16 Major changes in Gzip 1.3.6 (2006-11-20)
18 * Fix some race conditions in setting file time stamps, permissions, and owner.
19 * Fix some race conditions in signal handling.
20 * When gzip exits due to a signal, it exits with the signal's status, not 1.
21 * gzip now restores file time stamps to the resolution supported by the
22 time-setting primitives of the operating system, typically 1 microsecond.
23 Formerly it restored them only to the nearest second.
24 * gzip -r no longer attempts to reset the last-access times of directories
25 it reads, as this messes up when other processes are reading the directories.
26 * The options --version and --help now work on all gzip-installed executables,
27 and now use a format similar to other GNU programs.
28 * The manual is now distributed under the terms of the GNU Free
29 Documentation License without invariant sections or cover texts.
30 * Port to current versions of Autoconf, Automake, and Gnulib.
32 Major changes from 1.3.4 to 1.3.5
33 * gzip now removes any output symlink before writing output file.
34 * zgrep etc. scripts now port to POSIX 1003.1-2001 hosts.
35 * zforce no longer assumes 14-byte file name length limit.
36 * zless is now implemented using less and LESSOPEN, not zmore and PAGER.
37 * assembly-language speedups reenabled; were mistakenly disabled in 1.3.
39 Major changes from 1.3.3 to 1.3.4
40 * Less output is lost when decompressing a truncated file.
41 * The manual is now distributed under the terms of the GNU Free
42 Documentation License.
44 No major changes in 1.3.2 or 1.3.3 (bug fixes only)
46 Major changes from 1.3 to 1.3.1
47 * zgrep now supports --, -H, -h, -L, -l, -C, -d, -m and their long equivalents.
49 Major changes from 1.2.4 to 1.3
50 * Add support for large files, e.g. files larger than 2 GB on Solaris 2.6.
51 * Adjust file size listing format for files larger than 10 GB.
52 * New command `zless'.
53 * `zdiff' now reports exit status like `diff' does.
54 * `zcat' is now always called `zcat', not `gzcat'.
55 Similarly for `zdiff', `zgrep', `zmore', `znew', `zforce'.
56 * Warn about a compressed file's trailing zeros only if verbose,
57 for compatibility with recent versions of GNU tar.
58 * Conform to changes to GNU makefile standards.
59 * Port to Autoconf 2.13.
60 * Convert to Automake.
61 * Fix bugs in the following areas:
62 - files larger than 4 GB
63 - security hole involving symlinks from /tmp
64 - security hole involving long file names
65 - permissions bug when compressing a symbolic link to a file
67 - concatenated compressed files on INBUFSIZ boundaries
68 - porting bugs on hosts with signed chars
69 - porting bug with upper and lower case
70 - porting bug for hosts that reserve the names `basename' or `warning'
72 Major changes from 1.2.3 to 1.2.4
73 * By default, do not restore file name and timestamp from those saved
74 inside the .gz file (behave as 'compress'). Added the --name option
75 to force name and timestamp restoration.
76 * Accept - as synonym for stdin.
77 * Use manlinks=so or ln to support either hard links or .so in man pages
78 * Accept foo.gz~ in zdiff.
79 * Added support for Windows NT
80 * Handle ENAMETOOLONG for strict Posix systems
81 * Use --recursive instead of --recurse to comply with Webster and
83 * Allow installation of shell scripts with a g prefix: make G=g install
84 * Install by default zcat as gzcat if gzcat already exists in path.
85 * Let zmore behave as more when invoked without parameters (give help)
86 * Let gzip --list reject files not in gzip format even with --force.
87 * Don't complain about non gzip files for options -rt or -rl.
88 * Added advice in INSTALL for several systems.
90 Major changes from 1.2.2 to 1.2.3
91 * Don't display the output name when decompressing except with --verbose.
92 * Remove usage of alloca in getopt.c and all makefiles.
93 * Added the zfile shell script in subdirectory sample.
94 * Moved the list of compiler bugs from README to INSTALL.
95 * Added vms/Readme.vms.
97 Major changes from 1.2.1 to 1.2.2
98 * Fix a compilation error on Sun with cc (worked with gcc).
100 Major changes from 1.2 to 1.2.1
101 * Let zmore act as more if the data is not gzipped.
102 * made gzexe more secure (don't rely on PATH).
103 * By default, display output name only when the name was actually truncated.
105 Major changes from 1.1.2 to 1.2
106 * Added the --list option to display the file characteristics.
107 * Added the --no-name option: do not save or restore original filename
108 Save the original name by default.
109 * Allow gunzip --suffix "" to attempt decompression on any file
110 regardless of its extension if an original name is present.
111 * Add support for the SCO compress -H format.
112 * gzip --fast now compresses faster (speed close to that of compress)
113 with degraded compression ratio (but still better than compress).
114 Default level changed to -6 (acts exactly as previous level -5) to
115 be a better indication of its placement in the speed/ratio range.
116 * Use smart name truncation: 123456789012.c -> 123456789.c.gz
117 instead of 12345678901.gz
118 * With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
119 * Added the zgrep shell script.
120 * Made sub.c useful for 16 bit sound, 24 bit images, etc..
121 * Supress warnings about suffix for gunzip -r, except with --verbose.
122 * On MSDOS, use .gz extension when possible (files without extension)
123 * Moved the sample programs to a subdirectory sample.
124 * Added a "Special targets" section in INSTALL.
126 Major changes from 1.1.1 to 1.1.2.
127 * Fix serious bug for VMS (-gz not removed when decompressing).
128 * Allow suffix other than .gz in znew.
129 * Do not display compression ratio when decompressing stdin.
130 * In zmore.in, work around brain damaged stty -g (Ultrix).
131 * Display a correct compression ratio for .Z files.
132 * Added .z to .gz renaming script in INTALL.
133 * Allow setting CFLAGS in configure.
135 Major changes from 1.1 to 1.1.1.
136 * Fix serious bug in vms.c (affects Vax/VMS only).
137 * Added --ascii option.
138 * Add workaround in configure.in for Ultrix (quote eval argument)
140 Major changes from 1.0.7 to 1.1.
141 * Use .gz suffix by default, add --suffix option.
142 * Let gunzip accept a "_z" suffix (used by one 'compress' on Vax/VMS).
143 * Quit when reading garbage from stdin instead of reporting an error.
144 * Added makefile for VAX/MMS and support for wildcards on VMS.
145 * Added support for MSC under OS/2.
146 * Added support for Prime/PRIMOS.
147 * Display compression ratio also when decompressing (with --verbose).
148 * Quit after --version (GNU standard)
149 * Use --force to bypass isatty() check
150 * Continue processing other files in case of recoverable error.
151 * Added comparison of zip and gzip in the readme file.
152 * Added small sample programs (ztouch, sub, add)
153 * Use less memory when compiled with -DSMALL_MEM (for MSDOS).
154 * Remove the "off by more than one minute" time stamp kludge
156 Major changes from 1.0.6 to 1.0.7.
157 * Allow zmore to read from standard input (like more).
158 * Support the 68000 (Atari ST) in match.S.
159 * Retry partial writes (required on Linux when gzip is suspended in a pipe).
160 * Allow full pathnames and renamings in gzexe.
161 * Don't let gzexe compress setuid executables or gzip itself.
162 * Added vms/Makefile.gcc for gcc on the Vax.
163 * Allow installation of binaries and shell scripts in different dirs.
164 * Allows complex PAGER variable in zmore (e.g.: PAGER="col -x | more")
165 * Allow installation of zcat as gzcat.
166 * Several small changes for portability to old or weird systems.
167 * Suppress help message and send compressed data to the terminal when
168 gzip is invoked without parameters and without redirection.
169 * Add compile option GNU_STANDARD to respect the GNU coding standards:
170 with -DGNU_STANDARD, behave as gzip even if invoked under the name gunzip.
171 (I don't like the last two changes, which were requested by the FSF.)
173 Major changes from 1.0.5 to 1.0.6.
174 * Let gzexe detect executables that are already gzexe'd.
175 * Keep file attributes in znew and gzexe if cpmod is available.
176 * Don't try restoring record format on VMS (1.0.5 did not work correctly)
177 * Added asm version for 68000 in amiga/match.a.
178 Use asm version for Atari TT and NeXT.
179 * For OS/2, assume HPFS by default, add flag OS2FAT if necessary.
180 * Fixed some bugs in zdiff and define zcmp as a link to zdiff.
183 Major changes from 1.0.4 to 1.0.5.
184 * For VMS, restore the file type for variable record format, otherwise
185 extract in fixed length format (not perfect, but better than
186 forcing all files to be in stream_LF format).
187 * For VMS, use "-z" default suffix and accept a version number in file names.
188 * For Unix, allow compression of files with name ending in 'z'. Use only
189 .z, .*-z, .tgz, .taz as valid gzip extensions. In the last two cases,
190 extract to .tar by default.
191 * On some versions of MSDOS, files with a 3 character extension could not
193 * Garbage collect files in /tmp created by gzexe.
194 * Fix the 'OS code' byte in the gzip header.
195 * For the Amiga, add the missing utime.h and add support for gcc.
198 Major changes from 1.0.3 to 1.0.4.
199 * Added optimized asm version for 68020.
200 * Add support for DJGPP.
202 * Add support for the Atari ST.
203 * Added zforce to rename gzip'ed files with truncated names.
204 * Do not install with name uncompress (some systems rely on the
205 absence of any check in the old uncompress).
206 * Added missing function (fcfree) in msdos/tailor.c
207 * Let gunzip handle .tgz files, and let gzip skip them.
208 * Added -d option (decompress) for gzexe and try preserving file permissions.
209 * Suppress all warnings with -q.
210 * Use GZIP_OPT for VMS to avoid conflict with program name.
211 * ... and many other small changes (see ChangeLog)
214 Major changes from 1.0.2 to 1.0.3
215 * Added -K option for znew to keep old .Z files if smaller
216 * Added -q option (quiet) to cancel -v in GZIP env variable.
217 * Made gzexe safer on systems with filename limitation to 14 chars.
218 * Fixed bugs in handling of GZIP env variable and incorrect free with Turbo C.
221 Major changes from 1.0.1 to 1.0.2
222 * Added env variable GZIP for default options. Example:
223 for sh: GZIP="-8 -v"; export GZIP
224 for csh: setenv GZIP "-8 -v"
225 * Added support for the Amiga.
226 * znew now keeps the old .Z if it is smaller than the .z file.
227 This can happen for some large and very redundant files.
228 * Do not complain about trailing garbage for record oriented IO (Vax/VMS).
229 This implies however that multi-part gzip files are not supported
231 * Added gzexe to compress rarely used executables.
232 * Reduce memory usage (required for MSDOS and useful on all systems).
233 * Preserve time stamp in znew -P (pipe option) if touch -r works.
236 Major changes from 1.0 to 1.0.1
237 * fix trivial errors in the Borland makefile (msdos/Makefile.bor)
240 Major changes from 0.8.2 to 1.0
241 * gzip now runs on Vax/VMS
242 * gzip will not not overwrite files without -f when using /bin/sh in
244 * Support the test option -t for compressed (.Z) files.
245 Allow some data recovery for bad .Z files.
246 * Added makefiles for MSDOS (Only tested for MSC, not Borland).
247 * still more changes to configure for several systems
250 Major changes from 0.8.1 to 0.8.2:
251 * yet more changes to configure for Linux and other systems
252 * Allow zcat on a file with multiple links.
255 Major changes from 0.8 to 0.8.1:
256 * znew has now a pipe option -P to reduce the disk space requirements,
257 but this option does not preserve timestamps.
258 * Fixed some #if directives for compilation with TurboC.
261 Major changes from 0.7 to 0.8:
262 * gzip can now extract .z files created by 'pack'.
263 * configure should no longer believe that every machine is a 386
264 * Fix the entry for /etc/magic in INSTALL.
265 * Add patch for GNU tar 1.11.1 and a pointer to crypt++.el
266 * Uncompress files with multiple links only with -f.
267 * Fix for uncompress of .Z files on 16-bit machines
268 * Create a correct output name for file names of exactly N-1 chars when
269 the system has a limit of N chars.
272 Major changes from 0.6 to 0.7:
273 * Use "make check" instead of "make test".
274 * Keep time stamp and pass options to gzip in znew.
275 * Do not create .z.z files with gzip -r.
276 * Allow again gunzip .zip files (was working in 0.5)
277 * Allow again compilation with TurboC 2.0 (was working in 0.4)
280 Major changes form 0.5 to 0.6:
281 * gunzip reported an error when extracting certain .z files. The .z files
282 produced by gzip 0.5 are correct and can be read by gunzip 0.6.
283 * gunzip now supports multiple compressed members within a single .z file.
284 * Fix the check for i386 in configure.
285 * Added "make test" to check for compiler bugs. (gcc -finline-functions
286 is broken at least on the NeXT.)
287 * Use environment variable PAGER in zmore if it is defined.
288 * Accept gzcat in addition to zcat for people having /usr/bin before
289 /usr/local/bin in their path.
292 ========================================================================
294 Copyright (C) 1999, 2001, 2002, 2006 Free Software Foundation, Inc.
295 Copyright (C) 1992, 1993 Jean-loup Gailly
297 Permission is granted to copy, distribute and/or modify this document
298 under the terms of the GNU Free Documentation License, Version 1.2 or
299 any later version published by the Free Software Foundation; with no
300 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
301 Texts. A copy of the license is included in the ``GNU Free
302 Documentation License'' file as part of this distribution.