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