1 GNU gzip NEWS -*- outline -*-
3 * Noteworthy changes in release ?.? (????-??-??) [?]
7 gzip no longer fails when there is exactly one trailing NUL byte
8 gzip has always accepted trailing NUL bytes. Note the plural.
10 zdiff would exit with status 2 (indicating an error) rather than 1 to
11 indicate differences when both inputs were compressed and different.
13 zdiff would fail to print differences in two compressed inputs
15 zgrep -f - didn't work
18 * Noteworthy changes in release 1.3.13 (2009-09-30) [stable]
22 gzip -d no longer fails with "-" as 2nd or subsequent argument
24 gzip no longer ignores a close-induced write failure, e.g., on NFS
26 gzip -d no longer segfaults on certain invalid inputs
29 Major changes in Gzip 1.3.12 (2007-04-13)
31 * znew now uses $TMPDIR (default /tmp) instead of always using /tmp.
33 * 'gzip -f foo.gz' now creates a file foo.gz.gz instead of complaining.
35 * It is now documented that gzip ignores case when examining file name
36 extensions; for example, 'gzip test.Gz' (without -f) fails because
37 the file name ends in '.Gz'.
39 Major changes in Gzip 1.3.11 (2007-02-05)
41 * As per the GNU coding standards, the behavior of gzip and its
42 companion executables no longer depend on the name used to invoke them.
43 For example, 'gzip' and 'gunzip' are no longer hard links;
44 instead, 'gunzip' is now a small program that invokes 'gzip -d'.
46 * zdiff now checks for subsidiary gzip failures, and works around
47 bugs in IRIX 6 sh, Tru64 4.0F ksh, and Solaris 8 bash.
49 Major changes in Gzip 1.3.10 (2006-12-30)
51 * gzip -c and zcat now work on special files, files with special mode bits,
52 and files with multiple hard links.
53 * gzip -q now exits with status 2 (not 1) when SIGPIPE is received.
54 * zcmp and zdiff did not work in the usual case, due to a typo.
55 * zgrep has many bugs fixed with argument handling, special characters,
57 * zless no longer mishandles $%=~ in file names.
59 Gzip 1.3.9 (2006-12-15)
61 * No major changes; only porting fixes.
63 Major changes in Gzip 1.3.8 (2006-12-08)
65 * Fix some gzip problems:
66 - A security fix from Debian 1.3.5-5 was inadvertently omitted.
67 - The assembler is now invoked with --noexecstack if supported,
68 so that gzip can better resist stack-smashing attacks.
70 Major changes in Gzip 1.3.7 (2006-12-06)
72 * Fix some gzip problems:
73 - Refuse to compress setuid or setgid files, or files with the sticky bit.
74 - Fix more race conditions in setting file permissions and owner,
75 removing output files, following symbolic links, and dealing with
77 - Remove most of the code working around ENAMETOOLONG deficiencies.
78 Systems with those deficiencies are long-dead, and the workarounds
79 had race conditions on modern hosts.
80 - Catch CPU time and file size limit signals, too.
81 - Check for read errors when closing files.
82 - Fix a core dump caused by a stray abort mistakenly introduced in 1.3.6.
83 * Fix some gzexe problems:
84 - Improve resistance to denial-of-service attacks.
85 - Fix some quoting and escaping bugs.
86 - Do not assume /tmp is sticky (though it should be!).
87 - Do not assume the working directory can be written.
88 - Rely on PATH in the generated executable, as the man page says.
89 - Don't assume IFS is sane.
90 - Exit with signal's status, if signaled.
92 Major changes in Gzip 1.3.6 (2006-11-20)
94 * Fix some race conditions in setting file time stamps, permissions, and owner.
95 * Fix some race conditions in signal handling.
96 * When gzip exits due to a signal, it exits with the signal's status, not 1.
97 * gzip now restores file time stamps to the resolution supported by the
98 time-setting primitives of the operating system, typically 1 microsecond.
99 Formerly it restored them only to the nearest second.
100 * gzip -r no longer attempts to reset the last-access times of directories
101 it reads, as this messes up when other processes are reading the directories.
102 * The options --version and --help now work on all gzip-installed executables,
103 and now use a format similar to other GNU programs.
104 * The manual is now distributed under the terms of the GNU Free
105 Documentation License without invariant sections or cover texts.
106 * Port to current versions of Autoconf, Automake, and Gnulib.
108 Major changes from 1.3.4 to 1.3.5
109 * gzip now removes any output symlink before writing output file.
110 * zgrep etc. scripts now port to POSIX 1003.1-2001 hosts.
111 * zforce no longer assumes 14-byte file name length limit.
112 * zless is now implemented using less and LESSOPEN, not zmore and PAGER.
113 * assembly-language speedups reenabled; were mistakenly disabled in 1.3.
115 Major changes from 1.3.3 to 1.3.4
116 * Less output is lost when decompressing a truncated file.
117 * The manual is now distributed under the terms of the GNU Free
118 Documentation License.
120 No major changes in 1.3.2 or 1.3.3 (bug fixes only)
122 Major changes from 1.3 to 1.3.1
123 * zgrep now supports --, -H, -h, -L, -l, -C, -d, -m and their long equivalents.
125 Major changes from 1.2.4 to 1.3
126 * Add support for large files, e.g. files larger than 2 GB on Solaris 2.6.
127 * Adjust file size listing format for files larger than 10 GB.
128 * New command `zless'.
129 * `zdiff' now reports exit status like `diff' does.
130 * `zcat' is now always called `zcat', not `gzcat'.
131 Similarly for `zdiff', `zgrep', `zmore', `znew', `zforce'.
132 * Warn about a compressed file's trailing zeros only if verbose,
133 for compatibility with recent versions of GNU tar.
134 * Conform to changes to GNU makefile standards.
135 * Port to Autoconf 2.13.
136 * Convert to Automake.
137 * Fix bugs in the following areas:
138 - files larger than 4 GB
139 - security hole involving symlinks from /tmp
140 - security hole involving long file names
141 - permissions bug when compressing a symbolic link to a file
143 - concatenated compressed files on INBUFSIZ boundaries
144 - porting bugs on hosts with signed chars
145 - porting bug with upper and lower case
146 - porting bug for hosts that reserve the names `basename' or `warning'
148 Major changes from 1.2.3 to 1.2.4
149 * By default, do not restore file name and timestamp from those saved
150 inside the .gz file (behave as 'compress'). Added the --name option
151 to force name and timestamp restoration.
152 * Accept - as synonym for stdin.
153 * Use manlinks=so or ln to support either hard links or .so in man pages
154 * Accept foo.gz~ in zdiff.
155 * Added support for Windows NT
156 * Handle ENAMETOOLONG for strict Posix systems
157 * Use --recursive instead of --recurse to comply with Webster and
159 * Allow installation of shell scripts with a g prefix: make G=g install
160 * Install by default zcat as gzcat if gzcat already exists in path.
161 * Let zmore behave as more when invoked without parameters (give help)
162 * Let gzip --list reject files not in gzip format even with --force.
163 * Don't complain about non gzip files for options -rt or -rl.
164 * Added advice in INSTALL for several systems.
166 Major changes from 1.2.2 to 1.2.3
167 * Don't display the output name when decompressing except with --verbose.
168 * Remove usage of alloca in getopt.c and all makefiles.
169 * Added the zfile shell script in subdirectory sample.
170 * Moved the list of compiler bugs from README to INSTALL.
171 * Added vms/Readme.vms.
173 Major changes from 1.2.1 to 1.2.2
174 * Fix a compilation error on Sun with cc (worked with gcc).
176 Major changes from 1.2 to 1.2.1
177 * Let zmore act as more if the data is not gzipped.
178 * made gzexe more secure (don't rely on PATH).
179 * By default, display output name only when the name was actually truncated.
181 Major changes from 1.1.2 to 1.2
182 * Added the --list option to display the file characteristics.
183 * Added the --no-name option: do not save or restore original filename
184 Save the original name by default.
185 * Allow gunzip --suffix "" to attempt decompression on any file
186 regardless of its extension if an original name is present.
187 * Add support for the SCO compress -H format.
188 * gzip --fast now compresses faster (speed close to that of compress)
189 with degraded compression ratio (but still better than compress).
190 Default level changed to -6 (acts exactly as previous level -5) to
191 be a better indication of its placement in the speed/ratio range.
192 * Use smart name truncation: 123456789012.c -> 123456789.c.gz
193 instead of 12345678901.gz
194 * With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
195 * Added the zgrep shell script.
196 * Made sub.c useful for 16 bit sound, 24 bit images, etc..
197 * Supress warnings about suffix for gunzip -r, except with --verbose.
198 * On MSDOS, use .gz extension when possible (files without extension)
199 * Moved the sample programs to a subdirectory sample.
200 * Added a "Special targets" section in INSTALL.
202 Major changes from 1.1.1 to 1.1.2.
203 * Fix serious bug for VMS (-gz not removed when decompressing).
204 * Allow suffix other than .gz in znew.
205 * Do not display compression ratio when decompressing stdin.
206 * In zmore.in, work around brain damaged stty -g (Ultrix).
207 * Display a correct compression ratio for .Z files.
208 * Added .z to .gz renaming script in INTALL.
209 * Allow setting CFLAGS in configure.
211 Major changes from 1.1 to 1.1.1.
212 * Fix serious bug in vms.c (affects Vax/VMS only).
213 * Added --ascii option.
214 * Add workaround in configure.in for Ultrix (quote eval argument)
216 Major changes from 1.0.7 to 1.1.
217 * Use .gz suffix by default, add --suffix option.
218 * Let gunzip accept a "_z" suffix (used by one 'compress' on Vax/VMS).
219 * Quit when reading garbage from stdin instead of reporting an error.
220 * Added makefile for VAX/MMS and support for wildcards on VMS.
221 * Added support for MSC under OS/2.
222 * Added support for Prime/PRIMOS.
223 * Display compression ratio also when decompressing (with --verbose).
224 * Quit after --version (GNU standard)
225 * Use --force to bypass isatty() check
226 * Continue processing other files in case of recoverable error.
227 * Added comparison of zip and gzip in the readme file.
228 * Added small sample programs (ztouch, sub, add)
229 * Use less memory when compiled with -DSMALL_MEM (for MSDOS).
230 * Remove the "off by more than one minute" time stamp kludge
232 Major changes from 1.0.6 to 1.0.7.
233 * Allow zmore to read from standard input (like more).
234 * Support the 68000 (Atari ST) in match.S.
235 * Retry partial writes (required on Linux when gzip is suspended in a pipe).
236 * Allow full pathnames and renamings in gzexe.
237 * Don't let gzexe compress setuid executables or gzip itself.
238 * Added vms/Makefile.gcc for gcc on the Vax.
239 * Allow installation of binaries and shell scripts in different dirs.
240 * Allows complex PAGER variable in zmore (e.g.: PAGER="col -x | more")
241 * Allow installation of zcat as gzcat.
242 * Several small changes for portability to old or weird systems.
243 * Suppress help message and send compressed data to the terminal when
244 gzip is invoked without parameters and without redirection.
245 * Add compile option GNU_STANDARD to respect the GNU coding standards:
246 with -DGNU_STANDARD, behave as gzip even if invoked under the name gunzip.
247 (I don't like the last two changes, which were requested by the FSF.)
249 Major changes from 1.0.5 to 1.0.6.
250 * Let gzexe detect executables that are already gzexe'd.
251 * Keep file attributes in znew and gzexe if cpmod is available.
252 * Don't try restoring record format on VMS (1.0.5 did not work correctly)
253 * Added asm version for 68000 in amiga/match.a.
254 Use asm version for Atari TT and NeXT.
255 * For OS/2, assume HPFS by default, add flag OS2FAT if necessary.
256 * Fixed some bugs in zdiff and define zcmp as a link to zdiff.
259 Major changes from 1.0.4 to 1.0.5.
260 * For VMS, restore the file type for variable record format, otherwise
261 extract in fixed length format (not perfect, but better than
262 forcing all files to be in stream_LF format).
263 * For VMS, use "-z" default suffix and accept a version number in file names.
264 * For Unix, allow compression of files with name ending in 'z'. Use only
265 .z, .*-z, .tgz, .taz as valid gzip extensions. In the last two cases,
266 extract to .tar by default.
267 * On some versions of MSDOS, files with a 3 character extension could not
269 * Garbage collect files in /tmp created by gzexe.
270 * Fix the 'OS code' byte in the gzip header.
271 * For the Amiga, add the missing utime.h and add support for gcc.
274 Major changes from 1.0.3 to 1.0.4.
275 * Added optimized asm version for 68020.
276 * Add support for DJGPP.
278 * Add support for the Atari ST.
279 * Added zforce to rename gzip'ed files with truncated names.
280 * Do not install with name uncompress (some systems rely on the
281 absence of any check in the old uncompress).
282 * Added missing function (fcfree) in msdos/tailor.c
283 * Let gunzip handle .tgz files, and let gzip skip them.
284 * Added -d option (decompress) for gzexe and try preserving file permissions.
285 * Suppress all warnings with -q.
286 * Use GZIP_OPT for VMS to avoid conflict with program name.
287 * ... and many other small changes (see ChangeLog)
290 Major changes from 1.0.2 to 1.0.3
291 * Added -K option for znew to keep old .Z files if smaller
292 * Added -q option (quiet) to cancel -v in GZIP env variable.
293 * Made gzexe safer on systems with filename limitation to 14 chars.
294 * Fixed bugs in handling of GZIP env variable and incorrect free with Turbo C.
297 Major changes from 1.0.1 to 1.0.2
298 * Added env variable GZIP for default options. Example:
299 for sh: GZIP="-8 -v"; export GZIP
300 for csh: setenv GZIP "-8 -v"
301 * Added support for the Amiga.
302 * znew now keeps the old .Z if it is smaller than the .z file.
303 This can happen for some large and very redundant files.
304 * Do not complain about trailing garbage for record oriented IO (Vax/VMS).
305 This implies however that multi-part gzip files are not supported
307 * Added gzexe to compress rarely used executables.
308 * Reduce memory usage (required for MSDOS and useful on all systems).
309 * Preserve time stamp in znew -P (pipe option) if touch -r works.
312 Major changes from 1.0 to 1.0.1
313 * fix trivial errors in the Borland makefile (msdos/Makefile.bor)
316 Major changes from 0.8.2 to 1.0
317 * gzip now runs on Vax/VMS
318 * gzip will not not overwrite files without -f when using /bin/sh in
320 * Support the test option -t for compressed (.Z) files.
321 Allow some data recovery for bad .Z files.
322 * Added makefiles for MSDOS (Only tested for MSC, not Borland).
323 * still more changes to configure for several systems
326 Major changes from 0.8.1 to 0.8.2:
327 * yet more changes to configure for Linux and other systems
328 * Allow zcat on a file with multiple links.
331 Major changes from 0.8 to 0.8.1:
332 * znew has now a pipe option -P to reduce the disk space requirements,
333 but this option does not preserve timestamps.
334 * Fixed some #if directives for compilation with TurboC.
337 Major changes from 0.7 to 0.8:
338 * gzip can now extract .z files created by 'pack'.
339 * configure should no longer believe that every machine is a 386
340 * Fix the entry for /etc/magic in INSTALL.
341 * Add patch for GNU tar 1.11.1 and a pointer to crypt++.el
342 * Uncompress files with multiple links only with -f.
343 * Fix for uncompress of .Z files on 16-bit machines
344 * Create a correct output name for file names of exactly N-1 chars when
345 the system has a limit of N chars.
348 Major changes from 0.6 to 0.7:
349 * Use "make check" instead of "make test".
350 * Keep time stamp and pass options to gzip in znew.
351 * Do not create .z.z files with gzip -r.
352 * Allow again gunzip .zip files (was working in 0.5)
353 * Allow again compilation with TurboC 2.0 (was working in 0.4)
356 Major changes form 0.5 to 0.6:
357 * gunzip reported an error when extracting certain .z files. The .z files
358 produced by gzip 0.5 are correct and can be read by gunzip 0.6.
359 * gunzip now supports multiple compressed members within a single .z file.
360 * Fix the check for i386 in configure.
361 * Added "make test" to check for compiler bugs. (gcc -finline-functions
362 is broken at least on the NeXT.)
363 * Use environment variable PAGER in zmore if it is defined.
364 * Accept gzcat in addition to zcat for people having /usr/bin before
365 /usr/local/bin in their path.
368 ========================================================================
370 Copyright (C) 1999, 2001-2002, 2006-2007, 2009 Free Software Foundation, Inc.
371 Copyright (C) 1992, 1993 Jean-loup Gailly
373 Permission is granted to copy, distribute and/or modify this document
374 under the terms of the GNU Free Documentation License, Version 1.3 or
375 any later version published by the Free Software Foundation; with no
376 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
377 Texts. A copy of the license is included in the ``GNU Free
378 Documentation License'' file as part of this distribution.