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