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