source: vendor/gzip/1.3.11/ChangeLog@ 3513

Last change on this file since 3513 was 3325, checked in by bird, 18 years ago

gzip 1.3.11

File size: 65.4 KB
Line 
12007-02-05 Paul Eggert <eggert@cs.ucla.edu>
2
3 * NEWS: Version 1.3.11 released.
4 * configure.ac (AC_INIT): Likewise.
5
6 * doc/gzip.texi: Convert Texinfo format into a more modern style.
7 Put in current output samples.
8
9 * .cvsignore: Add *.gz, gunzip, zcat, zcmp, zegrep, zfgrep.
10 * lib/.cvsignore: Add sys_time_.h, unistd_.h.
11 * m4/.cvsignore: Add gnulib-common.m4, sys_time_h.m4.
12
13 * gunzip.in, zcat.in, zcmp.in, zegrep.in, zfgrep.in: New files.
14 * Makefile.am (EXTRA_DIST): Add them.
15 (bin_SCRIPTS, MOSTLYCLEANFILES): Add gunzip, zcat, zcmp, zdgrep, zfgrep.
16 (.in): Use GZIP_BINDIR as the location of gzip binaries, if it is set.
17 (check-local): Use GZIP_BINDIR.
18 (install-exec-hook, remove-installed-links): Make 'uncompress' an
19 alias for gunzip.
20 * gzexe.1: At least one arg is required. Don't give cat as an
21 example, since gzexe refuses to compress cat due to a bootstrapping
22 issue. List more utilities in this category.
23 * gzexe.in, zdiff.in, zforce.in, zgrep.in, zless.in, zmore.in, znew.in:
24 Report our name in usage.
25 * gzexe.in: Don't compress bash. Don't use rmdir, so it's
26 OK to compress rmdir.
27 * gzip.c: Now requires that you compile with -DGNU_STANDARD=0 to
28 get non GNU-standard behavior. We now build with GNU-standard
29 behavior by default, so that programs do not depend on the names
30 of their executables.
31 * zdiff.in: Don't depend on the name of the executable, as per
32 GNU standard. Instead, rely on an internal --__cmp option.
33 Support ' in options. Check for failures in subsidiary gzip
34 invocations.
35 * zgrep.1: Clarify compression issues.
36 * zgrep.in: Don't assume POSIX-style case syntax. Remove unused var
37 have_optarg.
38 * zless.1: zless sets LESSMETACHARS now.
39
402007-01-10 Paul Eggert <eggert@cs.ucla.edu>
41
42 * m4/shell.m4 (AC_PROG_SHELL): Test that $(...) works.
43 Problem reported for SGI IRIX 6 by Nelson H. F. Beebe in
44 <http://lists.gnu.org/archive/html/bug-gzip/2007-01/msg00007.html>.
45
462007-01-04 Paul Eggert <eggert@cs.ucla.edu>
47
48 * zdiff.in (cmp0): New var.
49 Rewrite test for /dev/fd/3 to detect bugs in Solaris 8
50 /bin/bash 2.03. Problem reported by Nelson H. F. Beebe in
51 <http://lists.gnu.org/archive/html/bug-gzip/2007-01/msg00001.html>.
52 Avoid "for file; do", which doesn't work with Solaris 8 /bin/sh.
53
542007-01-03 Paul Eggert <eggert@cs.ucla.edu>
55
56 * zdiff.in: Test /dev//fd/3, not /dev/fd/3, to work around a problem
57 with Tru64 4.0F ksh M-11/16/88f reported by Thomas Koutcher in
58 <http://lists.gnu.org/archive/html/bug-gzip/2007-01/msg00000.html>.
59
602006-12-30 Paul Eggert <eggert@cs.ucla.edu>
61
62 * NEWS: Version 1.3.10 released.
63 * configure.ac (AC_INIT): Likewise.
64
65 * Makefile.am (check-local): Don't assume $(srcdir) is '.'.
66 (MAINTAINERCLEANFILES): Move gzip.doc.gz from here ...
67 (MOSTLYCLEANFILES): ... to here.
68
692006-12-29 Paul Eggert <eggert@cs.ucla.edu>
70
71 * zless.in: Work around a bug in less 394 and earlier; it
72 mishandles $%=~ in file names. Problem reported by
73 Sami Liedes in <http://bugs.debian.org/383358>.
74
75 * doc/gzip.texi: Swap order of dircategory entries, to pacify
76 Debian install-info 1.10.28. This should fix
77 <http://bugs.debian.org/404048>.
78
79 * zgrep.in (version): Fix bug: $grep wasn't evaluated.
80
81 * zgrep.in: Rewrite to make the option processing more
82 compatible with GNU and POSIX grep. Assume POSIX shell
83 for more stuff, since we're already assuming that.
84 * Makefile.am (check-local): Check zgrep -iV.
85
862006-12-26 Paul Eggert <eggert@cs.ucla.edu>
87
88 Fix Debian bug 367673 <http://bugs.debian.org/367673> plus several
89 other bugs discovered in the neighborhood.
90 * NEWS: gzip -q now exits with status 2 (not 1) on SIGPIPE.
91 zgrep has many bugs fixed with argument handling, special characters,
92 and exit status.
93 * gzip.c (abort_gzip_signal): Implement gzip -q change.
94 * zgrep.in: Implement zgrep change.
95
962006-12-23 Paul Eggert <eggert@cs.ucla.edu>
97
98 * NEWS: Fix bug reported by Martin Mares in
99 <http://bugs.debian.org/177942>.
100 * gzip.c (treat_stdin): Remove NO_STDIN_FSTAT and NO_PIPE_TIMESTAMP
101 stuff. It didn't work (led to syntax errors) and was confusing.
102 Report an error if stdin cannot be statted even if !list && no_time.
103 Get stdin's size if it is regular.
104 (treat_file): Do not report an error with setuid, setgid,
105 sticky, or non-regular, non-directory files if to_stdout.
106 Allow 'force' to override the caution about sticky files.
107 Use the same form for time stamps that treat_stdin uses.
108
109 * zdiff.in: Fix typo that broke most usages. Problem reported by
110 Jari Aalto in <http://bugs.debian.org/404114>. While we're at it,
111 fix a bunch of other problems. Handle "-" better. Send
112 diagnostics to stderr, not stdout. Use expr rather than echo |
113 sed, to handle special characters better. Report a diagnostic in
114 the 1-arg case, if the argument doesn't end in .gz or the like,
115 rather than having incomprehensible behavior. Do not require that
116 the inputs be regular files. Avoid creating a temporary entirely,
117 if /dev/fd works. If not, then resist denial-of-service attacks
118 better, by using mktemp.
119 * NEWS: Document this.
120 * Makefile.am (gzip.doc.gz): New rule.
121 (check-local): Depend on it, and test zdiff for Debian bug 404114.
122
1232006-12-22 Paul Eggert <eggert@cs.ucla.edu>
124
125 * zdiff.1: Mention that these programs currently understand only
126 formats that gzip does. Problem reported by Jari Aalto in
127 <http://bugs.debian.org/404099>.
128
1292006-12-20 Paul Eggert <eggert@cs.ucla.edu>
130
131 * inflate.c (huft_build): Fix regression that caused gzip to
132 refuse to uncompress null input (all zero length codes). Problem
133 reported by Yiorgos Adamopoulos. This regression was caused by
134 the security patch installed 2006-11-20, which in turn came from
135 Debian, which in turn apparently came from Thomas Biege of SuSe.
136
1372006-12-15 Paul Eggert <eggert@cs.ucla.edu>
138
139 * NEWS, configure.ac (AC_INIT):
140 Version 1.3.9 released.
141
142 * Makefile.am (MOSTLYCLEANFILES): Add _match.i.
143 * configure.ac (for an assembler syntax supported by this package):
144 Remove _match.i.
145
146 * bootstrap (gnulib_tool_options_extras): New var.
147 (gnulib_tool_options): Use it.
148 * bootstrap.conf (gnulib_tool_options_extras): Avoid getline and
149 rpmatch. gzip doesn't need them, since it doesn't ENABLE_NLS.
150
1512006-12-13 Bruno Haible <bruno@clisp.org>
152
153 * configure.ac: Use $CPPFLAGS everywhere $CPP is used, and use
154 $CPPFLAGS $CFLAGS everywhere $CC is used.
155 * lib/Makefile.am (match.$(OBJEXT)): Likewise.
156 * configure.ac: Test the exit code of the $CPP and $ASCPPPOST commands
157 separately.
158
1592006-12-11 Paul Eggert <eggert@cs.ucla.edu>
160
161 * configure.ac (ASCPPPOST): Simplify to use just 'sed'.
162 * lib/Makefile.am (match.$(OBJEXT)): Check for CPP failure.
163
1642006-12-11 Bruno Haible <bruno@clisp.org>
165
166 Cross-compilation support.
167 * configure.ac (ASCPP): Remove substituted variable.
168 (ASCPPPOST, ASCPPFLAGS): New substituted variables.
169 * lib/Makefile.am (ASCPP, LN_S): Remove unnecessary macro definitions.
170 (match.$(OBJEXT)): Use CPP, ASCPPFLAGS, ASCPPPOST instead of ASCPP.
171 * configure.ac: Add test for chown function.
172 * gzip.c (treat_file) [!HAVE_CHOWN]: Don't call chown.
173 * gzip.c: Include "timespec.h". This doesn't fix any bugs, but
174 it is clearer.
175
1762006-12-11 Paul Eggert <eggert@cs.ucla.edu>
177
178 The SSIZE_MAX fix didn't work on NSK, so fix it in a more-reliable
179 (albeit more-complicated) way. Problem reported by Matthew Woehlke.
180 * gzip.h (read_buffer): New decl.
181 * unlzw.c (unlzw): Use read_buffer rather than read.
182 * zip.c (file_read): Likewise.
183 * util.c (copy, fill_inbuf): Likewise.
184 (read_buffer, write_buffer): New functions.
185 (write_buf): Use write_buffer rather than write.
186
187 Undo the previous SSIZE_MAX-related change; it didn't work.
188 * gzip.c: Include <limits.h>.
189 * util.c: Likewise.
190 * gzip.h: Don't include <limits.h>.
191 (INBUFSIZ): Don't worry about SSIZE_MAX here.
192
1932006-12-08 Paul Eggert <eggert@cs.ucla.edu>
194
195 * NEWS, configure.ac (AC_INIT):
196 Version 1.3.8 released.
197
198 * gzexe.in (mktemp_status): New var, used to see whether
199 mktemp is a known command. Use this instead of confounding
200 mktemp's existence with its success.
201
202 * zdiff.in: Remove first line containing ":". This follows
203 up on the SEDCMD fix of 2006-12-01.
204 * zforce.in: Likewise.
205 * zgrep.in: Likewise.
206 * zless.in: Likewise.
207 * zmore.in: Likewise.
208 * znew.in: Likewise.
209
210 Fix problems in porting to NSK reported by Matthew Woehlke in
211 <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00025.html> and
212 <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00027.html>.
213 * gzip.h: Include <limits.h>, for SSIZE_MAX.
214 (INBUFSIZE): Don't make it any larger than SSIZE_MAX.
215 Problem reported by Matthew Woehlke in
216 <http://lists.gnu.org/archive/html/bug-gzip/2006-11/msg00013.html>.
217 * gzip.c: Don't include <limits.h>, as gzip.h now does this.
218 * util.c: Likewise.
219 * gzip.c (main): Set exiting_signal before installing signal handlers.
220 (install_signal_handlers): Don't set exiting_signal here. This
221 fixes a C99ism.
222 * zip.c: Include timespec.h, for time_stamp type.
223
2242006-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
225
226 * gzexe.in: Work around FreeBSD shell trap bug.
227 * gzip.1: Fix typo.
228 * doc/gzip.texi: Likewise.
229
2302006-12-08 Paul Eggert <eggert@cs.ucla.edu>
231
232 * .cvsignore: Add .deps, gzexe, gzip, zdiff, zforce, zgrep,
233 zless, zmore, znew.
234 * doc/.cvsignore: Add Makefile.
235 * lib/.cvsignore: Add .deps, Makefile, alloca.h, config.h, fcntl.h,
236 stamp-h1, stdint.h, sys.
237
238 * configure.ac (for assembler): Set ASFLAGS_config to
239 -Wa,--noexecstack if this seems advisable on this platform.
240 Problem reported by Mike Frysinger in
241 <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00018.html>.
242 * lib/Makefile.am (match.$(OBJEXT)): Use ASFLAGS_config.
243
2442006-12-07 Paul Eggert <eggert@cs.ucla.edu>
245
246 * Makefile.am (install-exec-hook): Fix bug when installing
247 symbolic links as aliases. Problem reported by Mike Frysinger.
248
249 * deflate.c (deflate_fast, deflate): Avoid core dump. Problem
250 originally reported by Jochen Friedrich and trivial patch supplied
251 by Anthony Towns; see <http://bugs.debian.org/184057>.
252
2532006-12-06 Paul Eggert <eggert@cs.ucla.edu>
254
255 * NEWS, configure.ac (AC_INIT):
256 Version 1.3.7 released.
257
2582006-12-06 Bruno Haible <bruno@clisp.org> (tiny change)
259 and Paul Eggert <eggert@cs.ucla.edu>
260
261 Fix build failure on case-insensitive file systems.
262 * configure.ac: Use match_.s instead of _match.s.
263 * Makefile.am (MOSTLYCLEANFILES): Likewise.
264 * lib/Makefile.am (match.$(OBJEXT)): Likewise.
265 (MOSTLYCLEANFILES): Likewise.
266
2672006-12-06 Paul Eggert <eggert@cs.ucla.edu>
268
269 * NEWS: Document the fixes below.
270 * configure.ac (AC_CHECK_FUNCS_ONCE): Add siginterrupt.
271 * gzip.c (lstat) [!defined(HAVE_LSTAT) && !defined(lstat)]: Remove.
272 (SA_NOCLDSTOP, sigprocmask, sigset_t) [!defined SA_NOCLDSTOP]:
273 New macros.
274 (siginterrupt) [!defined SA_NOCLDSTOP && ! HAVE_SIGINTERRUPT]:
275 New macro.
276 (HAVE_WORKING_O_NOFOLLOW): Define to 0 if not defined.
277 (caught_signals, exiting_signal, remove_ofname_fd): New vars.
278 (remove_ofname): Remove; all uses changed to remove_ofname_fd.
279 (same_file, name_too_long): Remove.
280 (install_signal_handlers): New function. It prefers sigaction,
281 which is more reliable in the presence of race conditions.
282 Catch SIGXCPU and SIGXFSZ, too.
283 (main): Use it instead of installing them by hand.
284 (treat_file): Check for read error when closing ifd.
285 (treat_file, create_outfile, remove_output_file):
286 Avoid race conditions with signals.
287 (create_outfile, check_ofname): Remove most of the gorp about
288 working around ENAMETOOLONG deficiencies. It's obsolete now, and
289 anyway it had race conditions. Just rely on O_EXCL and
290 ENAMETOOLONG. The worst that can happen is that a file name will
291 be silently truncated on an obsolete machine, but no data will be lost.
292 (open_and_stat): Use HAVE_WORKING_O_NOFOLLOW rather than O_NOFOLLOW
293 to work around some O_NOFOLLOW bugs. Otherwise, fall back on
294 lstat only if lstat is available, as symlinks don't exist otherwise.
295 (open_input_file): Use O_NONBLOCK and O_NOCTTY too, to avoid
296 hanging gzip on special files.
297 (abort_gzip_signal): If sigaction is not available, ignore
298 signals. If we get the exiting signal, exit with ERROR status
299 rather than raising a signal.
300 * tailor.h (NO_ST_INO): Remove; no longer used now that same_file
301 is gone.
302
3032006-12-05 Paul Eggert <eggert@cs.ucla.edu>
304
305 Port to Tandem NSK/OSS, which lacks fchdir. Problem reported by
306 Matthew Woehlke in
307 <http://lists.gnu.org/archive/html/bug-gzip/2006-11/msg00013.html>.
308 * bootstrap.conf (gnulib_modules): Remove openat, as it pulls in
309 fchdir.
310 * configure.ac: Check for fdopendir.
311 * gzip.c: Don't include openat.h; no longer needed.
312 (treat_dir) [!HAVE_FDOPENDIR]: Fall back on the old opendir method
313 since fdopendir is not available.
314
3152006-12-04 Paul Eggert <eggert@cs.ucla.edu>
316
317 * NEWS: Describe the following change briefly.
318 * bootstrap.conf (gnulib_modules): Remove stat-macros; no longer
319 needed.
320 * gzip.c: Don't include stat-macros.h; no longer needed.
321 (treat_file): Refuse to compress files that are setuid, or setgid,
322 as this can in theory lead to security holes. Also, refuse to
323 compress files with the sticky bit set, on general principle.
324 (copy_stat): Don't copy the setuid, setgid, or sticky bits,
325 as (given the above change) they'll always be zero here.
326 Invoke chmod before chown, to close a race condition.
327
328 * .cvsignore: Add *.doc, build-aux.
329 * doc/.cvignore: New file.
330 * lib/.cvsignore: New file.
331 * m4/.cvsignore: New file.
332
3332006-12-01 Paul Eggert <eggert@cs.ucla.edu>
334
335 * doc/gzip.texi (Overview): Mention limits of gzip format's
336 time stamps. Also, gzip doesn't always preserve time stamps.
337
338 * gzip.c (abort_gzip_signal): Don't call abort () as a "safeguard",
339 since it actually causes a core dump. Problem reported by
340 Jakub Bogusz.
341
342 * NEWS: Describe gzexe changes noted below.
343 * Makefile.am (.in): Don't bother with SEDCMD. This stuff isn't needed
344 any more (the hosts it caters to are long extinct), and was
345 questionable anyway since the code assumes the skip= line was line 2.
346 * configure.ac (AC_SYS_INTERPRETER, SEDCMD): Remove; no longer needed.
347
348 * gzexe.in: Sweep the code and fix some bugs.
349 My, what sharp teeth you have, gzexe!
350 The straw that broke this camel's back was Matthew Burgess's bug report
351 <http://lists.gnu.org/archive/html/bug-gzip/2006-11/msg00012.html>.
352
353 (IFS): Set it to the standard value, both here and in the
354 script gzexe generates.
355 Check for missing operand after parsing options, not before.
356 This fixes the case for "cpexe --".
357 Check for tail -n problem separately in gzexe and in the executable
358 it generates, in case it's a different 'tail'.
359 (trap): Remove $tmp only if $tmp is not the empty string.
360 Preserve exit status.
361 Don't use the nonstandard (and rarely available) "cpmod" utility.
362 Don't use "set -C"; it's no longer useful and it breaks things
363 in some cases.
364 (main loop): Handle file names beginning with "-".
365 Exit with status of failing program, not with 1.
366 Fix some bugs in printing diagnostics, and in quoting.
367 Require the skip= line to have at least one digit.
368 Use test -u and test -g rather than using the (less-reliable) ls.
369 Refuse to compress more programs, e.g., sh.
370 Use mktemp rather than tempfile. Build a copy of
371 the compressed or uncompressed executable in the same
372 directory as the executable, as that's less likely to go wrong
373 if disk space is low. Have the executable exit with status 127,
374 not 1, if the decompression process fails; this is more compatible
375 with meta-programs like nohup. Have the executable
376 uncompress to a temp file with the same basename as the executable;
377 this is more likely to go right. Fix a race condition where the
378 executable temporarily did not exist (in either old or new forms).
379 Check for race conditions better when mv fails. Do not attempt
380 to use cp to do the real work, only to copy permissions to a temp
381 file, since we don't want to trash running executables.
382
3832006-11-26 Paul Eggert <eggert@cs.ucla.edu>
384
385 * inflate.c (inflate_dynamic, inflate): Don't send output to
386 stderr unless DEBUG is defined and 'verbose'. Problem reported by
387 Santiago Vila.
388
389 * zgrep.in: If the file name contains newline, &, \, or |, escape
390 the character so that 'sed' doesn't mishandle it as a replacement.
391 Problem reported by Bdale Garbee.
392
3932006-11-25 Paul Eggert <eggert@cs.ucla.edu>
394
395 * gzip.1 (OPTIONS): ouput -> output. Problem reported by Matt
396 Taggart.
397 * vms/gzip.hlp: Likewise.
398
399 * Makefile.am (FILES_TO_CHECK): New macro.
400 (check-local): Check only the files in FILES_TO_CHECK, since some
401 files under the working directory might be mutating as the test is
402 run, e.g., with "make check >log". Problem reported by Jim
403 Meyering.
404
4052006-11-20 Paul Eggert <eggert@cs.ucla.edu>
406
407 * NEWS, configure.ac (AC_INIT):
408 Version 1.3.6 released.
409
410 * NEWS: Describe 1.3.6's changes.
411 * NEWS, README, README-alpha, TODO: Change from GPL to FDL.
412 * .cvsignore, README-cvs, bootstrap, bootstrap.conf: New files.
413 * doc/Makefile.am, lib/Makefile.am: New files.
414 * THANKS: Change own email address to cs.ucla.edu. Add Sverre Jarp.
415 * TODO: Add new tasks to remove porting cruft and
416 all those buggy scripts.
417
418 * configure.ac: Renamed from configure.in.
419 (AC_PREREQ): Bump to 2.60.
420 (AC_INIT): Bump version to 1.3.6.
421 (AC_CONFIG_AUX_DIR): New.
422 (AC_CONFIG_HEADERS): Move config.h to lib.
423 Input is now lib/config.hin.
424 (AM_INIT_AUTOMAKE): Add gnits, dist-shar.
425 (AC_PROG_CC_STDC): New, replacing AC_PROG_CC.
426 (AM_PROG_CC_C_O, AC_PROG_RANLIB): New.
427 (AC_AIX, AC_GNU_SOURCE, AC_MINIX): Remove; gnulib does them now.
428 (gl_EARLY, gl_INIT): New.
429 match.c was moved to lib/match.c.
430 (AC_CHECK_HEADERS_ONCE): Replace AC_CHECK_HEADERS. Don't check
431 for sys/utime.h or utime.h.
432 (AC_CHECK_FUNCS_ONCE): Replace AC_CHECK_FUNCS. Check for fchmod
433 and fchown, not utime.
434 (AC_REPLACE_FUNCS): Remove; rpmatch is now done by gnulib.
435 (AC_CONFIG_FILES): Add doc/Makefile, lib/Makefile.
436
437 * bits.c: Use the more-usual form for copyright notices in source code.
438 * deflate.c: Likewise.
439 * gzip.c: Likewise.
440 * gzip.h: Likewise.
441 * inflate.c: Likewise.
442 * lzw.h: Likewise.
443 * revision.h: Likewise.
444 * tailor.h: Likewise.
445 * trees.c: Likewise.
446 * unpack.c: Likewise.
447 * unzip.c: Likewise.
448 * util.c: Likewise.
449 * crypt.c (dummy): Add decl so that pedantic compilers won't
450 complain about an empty file.
451 * gzip.c (license_msg): Use more-modern wording.
452 Include fcntl-safer.h, openat.h, stat-macros.h, stat-time.h.
453 Simply include <dirent.h> if !NO_DIR, removing a rats-nest of
454 #ifdefs.
455 Simply include <utimens.h> if !defined NO_UTIME, removing a
456 another rats-nest of #ifdefs.
457 (DIR_OPT, TIME_OPT): Remove.
458 (_D_EXACT_NAMLEN): Renamed from NAMLEN. All uses changed.
459 (S_ISDIR, S_ISREG, O_BINARY, O_CREAT, O_EXCL, S_IRUSR, S_IWUSR):
460 Remove; gnulib now does this.
461 (RETSIGTYPE): Remove; Autoconf does this.
462 (program_name): Renamed from progname, for compatibility with gnulib.
463 All uses changed.
464 (time_stamp): Now struct timespec, not time_t. All uses changd.
465 (remove_oftime): Now volatile.
466 (reset_times): Remove; now done by futimens.
467 (usage): Remove.
468 (try_help): New function.
469 (help, license): Don't output date as part of version.
470 A version number suffices.
471 (help): Redo help message to match style of coreutils etc.
472 (version): Don't bother printing compile-time configuration info
473 like STDC_HEADERS.
474 (main): Don't assume strlen (argv[0]) < INT_MAX (!).
475 On usage errors, suggest --help without outputting all the help.
476 (main, do_list): Remove unnecessary casts.
477 (treat_stdin, treat_file, get_method, copy_stat):
478 Support sub-second time stamp resolution.
479 (treat_file, copy_istat): Close some race conditions if files are
480 renamed as we read or write them.
481 (treat_file): Do not attempt to reset the access times of
482 directories that we read.
483 (open_and_stat, open_input_file): New functions.
484 (do_stat, get_istat): Remove; most of the contents went to these new
485 functions.
486 (make_ofname): Don't use WARN, as it affects exit status.
487 (get_method): When the original file name was truncated,
488 restore from its base name, not from its full name.
489 (do_list): Avoid undefined behavior with out-of-range time stamps.
490 ctime, for example, cannot be invoked on arbitrary time stamps safely,
491 since it might overrun an internal buffer. Do not assume that
492 localtime succeeds.
493 (copy_stat): Do not remove input file; that's now the caller's
494 responsibility. This avoids a problem if there is a write error
495 when the caller closes the output file.
496 (treat_dir): New arg FD, to avoid a race condition. All uses changed.
497 (remove_output_file): New function.
498 (abort_gzip): Use it.
499 (abort_gzip_signal): New function, which is async-signal-safe.
500 Exit with the signal that we got.
501 * gzip.h (program_name, time_stamp, abort_gzip): Adjust decls to
502 match gzip.c changes.
503 * inflate.c (huft_build): Return 2 if null input.
504 * tailor.h (HAVE_UTIME): Do not define; gnulib does this now.
505 (OPEN): Use open_safer, not plain open.
506 * unlzh.c (NPT): Set to 1<<TBIT, not to the maximum of NT and NP.
507 (make_table): Report an error if 1<<tablebits < nextcode.
508 (read_pt_len): Report an error if 16 < c.
509 * unpack.c (read_tree): Report an error if the tree has too many
510 leaves while reading it. Fix off-by-one error in final check.
511 * util.c: Include <xalloc.h>, for xalloc_die decl.
512 (gzip_base_name): Renamed from base_name, so we don't collide
513 with gnulib. All uses changed.
514 (add_envopt): Use xstrdup instead of xmalloc+strcpy.
515 Use xcalloc rather than calloc + check.
516 (gzip_error): Renamed from error, so we don't collide with gnulib.
517 All uses changed.
518 (xalloc_die): New function.
519 (xmalloc): Remove; no longer needed.
520 * zip.c (zip): Watch for time stamp overflow; the old code
521 mishandled negative time stamps.
522
523 * gzexe.in: Add support for --help, --version, --.
524 Don't call basename or sed if we can avoid it.
525 * zdiff.in: Likewise.
526 * zforce.in: Likewise.
527 * zgrep.in: Likewise.
528 * zless.in: Likewise.
529 * zmore.in: Likewise.
530 * znew.in: Likewise.
531 * zdiff.in: Protect against file names beginning with "-".
532 * zmore.in: Likewise.
533 * zgrep.in: Use printf rather than echo, to avoid problems with
534 leading "-" and backslash. Return status of subsidiary grep.
535 * zless.in: Add copyright notice.
536
537 * zless.1: We now pass "--" to LESSOPEN.
538 (BUGS): Mention that input file arguments are required.
539 Add copyright notice.
540
541 * COPYING: Update to current version.
542
543 * Makefile.am (SUBDIRS): New macro.
544 (AUTOMAKE_OPTIONS): Remove; now done in configure.ac.
545 (M4DIR, ACINCLUDE_INPUTS): Remove.
546 (EXTRA_DIST): Remove getopt.h.
547 (gzip_SOURCES): Remove getopt.c, getopt1.c, yesno.c.
548 (gzip_LDADD): Change from @LIBOBJS@ to lib/libgzip.a.
549 (AM_MAKEINFOFLAGS, info_TEXINFOS, gzip_TEXINFOS, ASCPP, LN_S):
550 (match.$(OBJEXT)): Move to subdirectory makefiles.
551 (.in): Substitute @VERSION@, too.
552 (check-local): New rule.
553 (MOSTLYCLEANFILES): Add _match.S.
554
555 * doc/gzip.texi: Renamed from gzip.texi. Change to GNU FDL
556 without invariant sections or cover texts. Don't put
557 version number or date into sample gzip -h output.
558 * lib/match.c: Renamed from match.c. Add ia64 version
559 written by Sverre Jarp (HP Labs).
560
561 * INSTALL: Remove from CVS; now created automatically by
562 the bootstrap script.
563 * Makefile.in: Likewise.
564 * aclocal.m4: Likewise.
565 * config.h.in: Likewise.
566 * configure: Likewise.
567 * depcomp: Likewise.
568 * fdl.texi: Likewise.
569 * getopt.c: Likewise.
570 * getopt.h: Likewise.
571 * getopt1.c: Likewise.
572 * gzip.doc: Likewise.
573 * gzip.info: Likewise.
574 * install-sh: Likewise.
575 * mdate-sh: Likewise.
576 * missing: Likewise.
577 * mkinstalldirs: Likewise.
578 * rpmatch.c: Likewise.
579 * stamp-vti: Likewise.
580 * texinfo.tex: Likewise.
581 * version.texi: Likewise.
582 * yesno.c: Likewise.
583
5842002-09-30 Paul Eggert <eggert@twinsun.com>
585
586 * NEWS, README, revision.h, configure.in (AM_INIT_AUTOMAKE):
587 Revision 1.3.5, dated today.
588
589 * util.c (fprint_off): Fix bug in printing values greater than
590 10 * 2**32 bytes. Bug reported by Bryan Andersen.
591
592 * Makefile.am (match.$(OBJEXT)): Use .S as extension for $(ASCPP),
593 to keep gcc happy.
594 * configure.in: Likewise.
595 Upgrade assembly-language checking for Autoconf 2.54, using cache vars.
596 (AC_PROG_CPP, AC_OBJEXT): Add.
597
598 * match.c: Accept __i386 and __i386__ as synonyms for i386.
599 Bug reported by "fork __" <bouloumag@hotmail.com>.
600
6012002-09-29 Paul Eggert <eggert@twinsun.com>
602
603 * gzip.texi (Overview): Suggest how to use gunzip on zip files.
604
605 * zless.1, zless.in: Use LESSOPEN, not PAGER.
606 Suggested by <antos@MAST.queensu.ca>.
607
6082002-09-28 Paul Eggert <eggert@twinsun.com>
609
610 * zforce.in: Use shell pattern matching instead of 'expr', which
611 mishandles names like "+". Remove old check for 14-byte file
612 names on hosts with broken "mv" implementations, as such systems
613 aren't in use any more and it's better nowadays to support file
614 names longer than 14 bytes. Rely on "mv"'s error-reporting.
615 This fixes a portability bug reported by Ralf Neubauer, along
616 with some other bugs.
617
618 Remove dangling output symlinks properly.
619 Bug reported by Kalle Olavi Niemitalo.
620 * gzip.c (lstat): New macro, for platforms lacking lstat.
621 (do_stat): Use it.
622 (name_too_long, check_ofname): Use lstat instead of stat.
623
6242002-09-27 Paul Eggert <eggert@twinsun.com>
625
626 * zforce.in: Use "gzip -lv", not "gzip -v". Patch by Ralf
627 Neubauer.
628
629 * configure.in (ASCPP): Don't use test -a, as POSIX says it's
630 not portable.
631 * znew.in: Likewise.
632 * zmore.in: Likewise. Similarly, don't use test -o, or test -t
633 with no operand.
634
635 * gzexe.in (PATH): Set to same as other programs.
636 Don't assume "tail +22" works; POSIX removed this.
637 Check against compressing "tail".
638 Check against "skip=" line with no integer.
639 * zgrep.in: Exit with status 2 if trouble, for consistency with grep.
640
641 * gzip.c (main): Avoid core dump in diagnostic message if
642 incorrect suffix is given.
643
6442002-09-26 Paul Eggert <eggert@twinsun.com>
645
646 * zdiff.in: Use "trap -" instead of "trap". Patch by Nicolas Boullis.
647 Use names, not numbers, for signals. Patch by Andrew Stribblehill.
648
649 * NEWS, README, revision.h, configure.in (AM_INIT_AUTOMAKE):
650 Revision 1.3.4, dated today.
651
652 * README-alpha: Upgrade to Autoconf 2.54 and Automake 1.7.
653 * configure.in (AC_PREREQ): Move to start, and increase to 2.54.
654 (AC_INIT, AM_INIT_AUTOMAKE, AC_CONFIG_SRCDIR, AC_CONFIG_FILES,
655 AC_OUTPUT): Use modern style.
656 (AC_OBJEXT, AC_EXEEXT): Remove; obsolete.
657 (AC_GNU_SOURCE): Add.
658 (AC_HEADER_STDC): Renamed from AC_STDC_HEADERS.
659 (AC_CHECK_HEADERS): Remove stdlib.h, string.h, unistd.h; now done
660 by Autoconf.
661 (AC_SUBST): Remove CFLAGS; now done by Autoconf.
662
663 * gzip.texi: Use the GNU FDL for distribution terms, following the
664 recipe in the Texinfo manual. Use Automake-generated variables
665 for date and version.
666 * fdl.texi, mdate-sh: New files.
667 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
668 (gzip_TEXINFOS): New macro.
669
670 * tailor.h (NO_DIR): Define to 1, not the empty string.
671 * gzip.c (NO_DIR): Define to 0 if not defined. All uses changed.
672 (usage): Don't put '#if' inside printf, as the C standard says
673 that it is not portable if printf is a macro.
674
675 Don't lose output when decompressing truncated input.
676 Bug reported by Nadav Har'El.
677 * inflate.c (GETBYTE): New macro.
678 (NEXTBYTE): Use it.
679 (inflate_dynamic, inflate_block): Add a local variable w, needed
680 by GETBYTE.
681
6822002-03-08 Paul Eggert <eggert@twinsun.com>
683
684 * NEWS, README, revision.h, gzip.texi,
685 configure.in (AM_INIT_AUTOMAKE): Revision 1.3.3, dated today.
686
687 * README-alpha: Now using latest stable GNU tools.
688 Using the latest tools allows gzip to build correctly on hosts
689 conforming to POSIX 1003.1-2001.
690
691 * configure.in (match): Use AC_LIBOBJ; Autoconf 2.53 requires it.
692 (LIBOBJS): No longer need to subst, since AC_LIBOBJ does it.
693 (AC_PREREQ): Bump to 2.53.
694
695 * Makefile.am (install-exec-hook, remove-installed-links):
696 Work even when configured with --program-transform-name.
697
698 * gzip.c (license_msg): Update copyright.
699 (z_len): Now of type size_t.
700
7012001-11-03 Paul Eggert <eggert@twinsun.com>
702
703 * NEWS, README, revision.h, gzip.texi, configure.in (AM_INIT_AUTOMAKE):
704 Revision 1.3.2, dated today.
705
706 * Makefile.am (LN_S): New macro.
707 (install-exec-hook): Depend on remove-installed-links.
708 Affect $(DESTDIR)$(bindir), not just $(bindir).
709 (uninstall-local, remove-installed-links): New rules.
710 * README-alpha: This release built with autoconf 2.52f.
711 * TODO: Add rsync patch.
712 * configure.in: Add AC_PREREQ(2.52) and AC_PROG_LN_S.
713 * gzip.1, zmore.1: Fix troff glitches, using Eric S. Raymond's
714 suggestions for inspiration.
715 * m4/shell.m4(AC_PROG_SHELL): Add commentary and cleanup.
716
717 * gzip.texi, gzip.1: Add pointers to RFCs 1951 and 1952.
718 Mention that gzip --list reports file sizes modulo 2^32.
719 * gzip.1: Remove incorrect report of 2 GB bug. Add copyright notice.
720
7212001-09-30 Paul Eggert <eggert@twinsun.com>
722
723 * NEWS, README, revision.h, gzip.texi, configure.in (AM_INIT_AUTOMAKE):
724 Revision 1.3.1, dated today.
725
726 * INSTALL, getopt.c, getopt.h, getopt1.c, install-sh, missing,
727 mkinstalldirs, texinfo.tex:
728 Sync with latest version in other packages.
729
730 * acinclude.m4, config.guess, config.sub: Remove.
731 * depcomp, rpmatch.c, yesno.c: New files.
732
733 * ChangeLog, README, NEWS, TODO, configure.in, zgrep.in, zmore.in:
734 Add copyright notice.
735
736 * Makefile.am (ACLOCAL_AMFLAGS): New macro.
737 (ACINCLUDE_INPUTS): Remove all but shell.m4.
738 ($(srcdir)/acinclude.m4): Remove.
739 (gzip_sources): Add yesno.c.
740
741 * TODO: Add i18n.
742
743 * configure.in (AC_CANONICAL_HOST): Remove.
744 (AC_AIX, AC_MINIX): Move earlier.
745 (AC_REPLACE_FUNCS): Add rpmatch.
746
747 * gzip.c (main):
748 Report error if -b operand is not a nonnegative integer.
749 (treat_file): Don't assume tab width is 8, or that characters are
750 one column wide.
751 (make_ofname): Use WARN to warn about unchanged files.
752 (get_method): "get newer version of gzip" -> "not supported"
753 (check_ofname): Use yesno instead of checking for 'y' ourselves.
754 (treat_file): Do not assume link count fits in int.
755
756 * gzip.h (yesno): New decl.
757
758 * util.c (display_ratio): Use floating point to compute ratio:
759 this avoids problems with integer overflow.
760
761 * zgrep.in: Add support for --, -H, -h, -L, -l, -C, -d, -m and
762 their long equivalents. Warn that -r and -d are not supported.
763
764 * zmore.in:
765 Check that file is readable before attempting to decompress it.
766
7672000-10-09 Paul Eggert <eggert@twinsun.com>
768
769 * configure.in (AC_CHECK_FUNCS): Add lstat.
770
7712000-07-20 Paul Eggert <eggert@twinsun.com>
772
773 Use a POSIX-compliant shell instead of /bin/sh.
774 Idea suggested by Albert Chin-A-Young <china@thewrittenword.com>.
775
776 * m4/shell.m4: New file.
777 * configure.in (AC_PROG_SHELL): Add it.
778 * Makefile.am (ACINCLUDE_INPUTS): Add $(M4DIR)/shell.m4.
779 (.in): Replace /bin/sh with $(SHELL).
780
7812000-04-17 Bruno Haible <haible@clisp.cons.org>
782
783 * Makefile.am (install-exec-hook): If hard links fail, try symlinks.
784
7852000-04-02 Jim Meyering <meyering@ascend.com>
786
787 * Makefile.am (install-exec-hook): Remove link targets before
788 installing.
789
7902000-01-02 Albert Chin-A-Young <china@thewrittenword.com>
791
792 * gzip.texi: Add direntry.
793
7941999-12-21 Paul Eggert <eggert@twinsun.com>
795
796 * NEWS, README, revision.h, gzip.texi: Revision 1.3, dated today.
797 * gzip.c (license_msg, usage, version, help, license):
798 Adjust to current GNU coding standards.
799 (total_in, total_out): Remove unnecessary initialization.
800 * zip.c (file_read): Report read errors.
801 * util.c (fill_inbuf): Likewise.
802 * gzip.c (main): Don't assume EOF == -1.
803 * unlzw.c (unlzw): Likewise.
804 * util.c (copy, fill_inbuf): Likewise.
805
8061999-11-18 Paul Eggert <eggert@twinsun.com>
807
808 * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS):
809 Work around a bug in the QNX shell, which doesn't
810 propagate exit status of failed commands inside shell assignments.
811
8121999-10-07 Paul Eggert <eggert@twinsun.com>
813
814 * NEWS, README, revision.h, gzip.texi:
815 Revision 1.2.4294967306 dated today. This is the successor to
816 revision 1.2.4.4294967305; automake requires the new (shorter) number.
817
818 Convert to automake.
819
820 * Makefile.am, gunzip.1, zcat.1, zcmp.1, AUTHORS: New files.
821
822 * revision.h (VERSION): Remove; moved to config.h.
823
824 * configure.in (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER,
825 AC_CANONICAL_HOST, AC_OBJEXT): Add.
826 (AC_PROG_CPP): Remove.
827 (AC_SYS_LARGEFILE): Add, replacing older inline code.
828 (ASCPP): Use $OBJEXT.
829 (LIBOBJS): Add match.o if needed.
830 (AC_PROG_INSTALL): Remove.
831 (AC_EXT, AC_C_CONST): Add.
832 (AC_CHECK_HEADERS): Add, replacing lots of AC_HEADER_CHECKs.
833 All instances of defined(NO_TIME_H) changed to !defined(HAVE_TIME_H),
834 etc.
835 (AC_CHECK_FUNCS): Add utime.
836 (SEDCMD): Use $interpval, not $ac_cv_sys_interpreter.
837 (AC_PREFIX_PROGRAM): Add, replacing AC_PREFIX.
838 (ZCAT, G): Remove.
839 (LIBOBJS): Add.
840 (OBJA): Remove; LIBOBJS now does this.
841
842 * bits.c, gzip.c, deflate.c, inflate.c, lzw.c, trees.c, unlzh.c,
843 unlzw.c, unpack.c, unzip.c, util.c, zip.c: Include <config.h>
844 first; this is needed for proper large-file support, given the new
845 way of configuring large files.
846
847 * gzip.c: Include <sys/types.h>; Ultrix needs this.
848 (TIME_OPT): Use STRUCT_UTIMBUF instead of empty string.
849 (help): Add bug-report address.
850 (do_stat): Depend on HAVE_LSTAT, not S_IFLNK, S_ISLNK, and NO_SYMLINK.
851
8521999-06-25 Paul Eggert <eggert@twinsun.com>
853
854 * inflate.c (huft_build):
855 Set n to length of v, to detect improper tables.
856 Don't accidentally grow j past z.
857
8581999-06-24 Paul Eggert <eggert@twinsun.com>
859
860 * Makefile.in (check): Update texinfo.tex size.
861
862 * configure.in (ASMV):
863 Define with AC_DEFINE; do not manipulate DEFS directly,
864 as this doesn't work with recent autoconf versions.
865
8661999-02-06 Paul Eggert <eggert@twinsun.com>
867
868 * NEWS, README, revision.h, gzip.texi: Revision 1.2.4.4294967305,
869 dated today. This merges the changes from gzip 1.2.4a, which fix
870 some typographical errors in the documentation and update the
871 bug-reporting address.
872
8731999-01-27 Paul Eggert <eggert@twinsun.com>
874
875 * NEWS, README, revision.h (VERSION, REVDATE):
876 Revision 1.2.4.4294967304, dated today.
877
878 Port to autoconf 2.13.
879
880 * Makefile.in (next, next-fat, coherent):
881 Update dirent headers to match Autoconf 2.13.
882 * configure.in (AC_RETSIGTYP): Remove; superseded by AC_TYPE_SIGNAL.
883 (AC_DYNIX_SEQ, AC_XENIX_DIR, AC_DIR_HEADER): Remove; superseded by
884 AC_HEADER_DIRENT.
885 * tailor.h (HAVE_DIRENT_H, HAVE_SYS_DIR_H):
886 Define instad of DIRENT, SYSDIR.
887 * gzip.c (NAMLEN): Renamed from NLENGTH. Depend on Autoconf 2.13 names
888 HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
889 instead of the oldfashioned names DIRENT, SYSDIR, SYSNDIR, NDIR.
890 (CLOSEDIR): New macro.
891 (progerror): New function.
892 (treat_stdin, treat_file, creat_outfile, get_istat, check_ofname,
893 treat_dir): Use it, for brevity.
894 (treat_dir): Report any I/O errors when reading directories.
895
896 * COPYING, INSTALL, doc/texinfo.tex, install-sh:
897 Update to latest public versions.
898
8991998-11-18 Paul Eggert <eggert@twinsun.com>
900
901 * NEWS, README, revision.h (VERSION, REVDATE):
902 Revision 1.2.4.4294967303, dated today.
903
904 * gzip.c (get_method): Don't complain about trailing zeros at
905 the end of a gzipped file, as they're commonly appended to fill
906 out a block (e.g. by GNU tar).
907
908 * configure.in (CPPFLAGS, LDFLAGS, LIBS): Add large-file support
909 for HP-UX 10.20 and later.
910
911 * getopt.c, getopt.h, texinfo.tex: Sync with latest version at gnu.org.
912 * getopt1.c: New file.
913 * Makefile.in (SRCS): Add getopt1.c.
914 (OBJS): Add getopt1$O.
915 (getopt1$O): New dependency.
916 (check): Adjust desired size of compressed texinfo.tex to 55637,
917 to reflect the 1998-11-13 edition of texinfo.tex.
918
919 * gpl.texinfo: Remove; its addresses were out of date and
920 these days the GPL isn't reprinted in manuals anyway.
921 * gzip.texi: Remove reference to gpl.texinfo.
922 * Makefile.in (GENFILES): Remove gpl.texinfo.
923
9241998-11-13 Paul Eggert <eggert@twinsun.com>
925
926 * NEWS, README, revision.h (VERSION, REVDATE):
927 Revision 1.2.4.4294967302, dated today.
928
929 * gzip.c (input_eof): New function.
930 (treat_stdin, treat_file): Use it to fix premature detection of EOF
931 bug when a gzipped file concatenation boundary is at a multiple of
932 INBUFSIZ.
933
934 * Makefile.in (installman): Fix bug when installing from subdirectory.
935 ($(srcdir)/gzip.info): Renamed from gzip.info.
936 ($(srcdir)/gzip.info, realclean): Do not split gzip.info.
937
9381998-10-26 Paul Eggert <eggert@twinsun.com>
939
940 * NEWS, README, revision.h (VERSION, REVDATE):
941 Revision 1.2.4.4294967301, dated today.
942
943 * TODO: Update bug reporting address.
944
945 * Makefile.in (datadir, libdir): Remove unused macros.
946 (mandir): Let configure set it.
947 (manextdir): New macro.
948 (alldirs): Remove datadir, libdir; add manextdir.
949 (TEXI2HTML): New macro.
950 (installman, uninstall): Install into manextdir, not mandir.
951 (install-strip): New rule.
952 (installdirs): No need to build $(prefix)/man separately,
953 as it's now in alldirs.
954 (match$O): Compile with $(CFLAGS).
955 (gzip_1.html): New rule.
956
957 * gzip.c (get_istat): Remove lint by initializing z_suffix_errno.
958 (check_ofname): Do not assume unsigned char.
959
960 * util.c (strlwr): Don't assume char is unsigned.
961 (warning): Renamed from `warn'.
962
963 * gzip.h (tolow): Use tolower instead of relying on 'A'-'a'.
964 (warning): Renamed from warn.
965
966 * trees.c (warning): Renamed from warn.
967
9681998-10-14 Paul Eggert <eggert@twinsun.com>
969
970 Merge patches from Debian.
971
972 * NEWS, README, revision.h (VERSION, REVDATE):
973 Revision 1.2.4.4294967300, dated today.
974
975 * README, algorithm.doc, gzip.texi: Update maintainer address.
976
977 * gzexe.in, zdiff.in, znew.in:
978 Close security hole portably, using `set -C'.
979
980 * zgrep.in: Add -A, -B.
981
982 * gzexe.in: Use `gzip', not full path, to run gzip.
983
984 * zdiff.in: Report proper exit status.
985
986 * gzip.h (base_name): Renamed from basename. All uses changed.
987
988 * gzip.c (z_suffix): Now char *, so that there's no limit to length.
989 All uses change.
990 (main): If --quiet, abort gzip when SIGPIPE received.
991 (get_suffix): Don't assume z_suffix's address is a constant.
992 (get_istat): Likewise.
993 Check for buffer overflow.
994 Preserve errno correctly.
995 (make_ofname): Check for buffer overflow.
996
997 * util.c (fill_inbuf): Flush window before reporting read error.
998
999 * inflate.c (inflate_dynamic): Don't dump core if tl == NULL.
1000
1001 * Makefile.in (GENFILES): Add zless.in.
1002 (SCRIPTS): Add zless.
1003 (default): Build all programs, not just gzip.
1004 (all): Add zless.
1005 (installbin): Install zegrep, zfgrep.
1006 (installman): Install zless man page.
1007 (install_compress): Don't install compress.
1008 (zless): New rule.
1009
10101998-09-16 Paul Eggert <eggert@twinsun.com>
1011
1012 * NEWS, README, revision.h: Bump version number to 1.2.4.4294967299.
1013
1014 * tailor.h (UNLINK_READONLY_BUG): New macro.
1015 * gzip.h (unlink): New decl.
1016 * util.c (xunlink): New function.
1017 * gzip.c
1018 (treat_file, create_outfile, check_ofname, copy_stat, abort_gzip):
1019 Use xunlink rather than unlink.
1020 Do not chmod the file; xunlink will do that if need be.
1021
10221998-05-21 Paul Eggert <eggert@twinsun.com>
1023
1024 * NEWS, README, revision.h: Bump version number to 1.2.4.4294967298.
1025 * Makefile.in (prefix): Set from @prefix@.
1026 (distclean): Remove config.cache.
1027
10281998-01-15 Paul Eggert <eggert@twinsun.com>
1029
1030 * NEWS, README, revision.h:
1031 Bump version number to indicate large-file support.
1032
10331997-10-08 Paul Eggert <eggert@twinsun.com>
1034
1035 * gzip.c (CHAR_BIT): Define if <limits.h> doesn't.
1036 (OFF_T_MIN, OFF_T_MAX): New macros.
1037 (do_list): Revert to fixed format, but this time don't assume
1038 that 9 digits suffice; use a width taken from the maximum value
1039 that off_t can represent.
1040 (off_t): Do not typedef; autoconf handles this now.
1041 * gzip.c, util.c (<limits.h>): Include if HAVE_LIMITS_H.
1042 * gzip.h, util.c (fprint_off): Now takes int width argument.
1043 * configure.in (AC_HAVE_HEADERS): Check for limits.h.
1044 (AC_TYPE_OFF_T): Use this instead of grepping sys/types.h for off_t.
1045 (AC_TYPE_SIZE_T): Use this instead of obsolescent AC_SIZE_T.
1046 * tailor.h (NO_OFF_T): Remove.
1047 (off_t): Define this instead.
1048
10491997-10-03 Paul Eggert <eggert@twinsun.com>
1050
1051 * Makefile.in, bits.c, configure.in, deflate.c, gzip.c, gzip.h,
1052 inflate.c, trees.c, unlzw.c, unpack.c, unzip.c, util.c, zip.c:
1053 Adjust to Solaris 2.6, which has large files but small off_t by default.
1054 * gzip.c: Output more reasonable message if input file is too large.
1055 * gzip.c, util.c: Propagate errno from point of error to `perror'.
1056 * unzip.c: Allow uncompressing files larger than 4 gigabytes.
1057 http://www.gzip.org/4g.patch (1996-07-21)
1058
1059Wed Aug 18 09:34:23 1993 Jean-loup Gailly (jloup@chorus.fr)
1060
1061 * version 1.2.4
1062 By default, do not restore file name and timestamp from those saved
1063 inside the .gz file (behave as 'compress'). Added the --name option
1064 to force name and timestamp restoration.
1065 Accept - as synonym for stdin.
1066 Use manlinks=so or ln to support either hard links or .so in man pages
1067 Accept foo.gz~ in zdiff.
1068 Added support for Windows NT
1069 Handle ENAMETOOLONG for strict Posix systems
1070 Use --recursive instead of --recurse to comply with Webster and
1071 the GNU stdandard.
1072 Allow installation of shell scripts with a g prefix: make G=g install
1073 Install by default zcat as gzcat if gzcat already exists in path.
1074 Let zmore behave as more when invoked without parameters (give help)
1075 Let gzip --list reject files not in gzip format even with --force.
1076 Don't complain about non gzip files for options -rt or -rl.
1077 Added advice in INSTALL for several systems.
1078 Added makefile entries for NeXTstep 3.1 (if configure fails)
1079 Avoid problem with memcpy on Pyramid (gave crc error on some files)
1080 Support the -r option when compiled with Borland C++ on msdos.
1081 Force lower case file names only for FAT file systems (not HPFS)
1082 Rewrite one expression in inflate.c to avoid cc bug on Solaris x86.
1083 In the msdos makefiles, get match.asm from the msdos subdirectory.
1084 Catch SIGTERM and SIGHUP only if they are not ignored.
1085 getopt.c: on Amiga, "#if !defined(const)" does not compile.
1086 Use register parameters on Amiga.
1087 Do not force names to lower case on Amiga.
1088 Fix support of Atari TOS (Makefile.st and tailor.h)
1089 In unlzw.c, do not suggest using zcat if zcat already used.
1090 In INSTALL, suggest using bsdinst for HPUX.
1091 Document Turbo C++ 1.0 bug in INSTALL.
1092 Improved the documentation relative to the --no-name option.
1093 Avoid signed/unsigned warnings in several files.
1094 Added pointer to jka-compr19.el in README.
1095 Added pointer to OS/2 executables in README.
1096 Added --block-compress in tar -z example (gzip.1 and gzip.texi).
1097 Don't keep rcsid in executable (avoid compilation warnings).
1098 Check also the correctness of the first byte of an .Z file.
1099 Return non zero status for an invalid option.
1100 Remove "NEWFILES" from os2/gzip.def for Borland C++ on OS/2.
1101 Remove "time stamp restored" message (just obey the -N request).
1102
1103Thu Jun 24 10:27:57 1993 Jean-loup Gailly (jloup@chorus.fr)
1104
1105 * version 1.2.3
1106 Don't display the output name when decompressing except with --verbose.
1107 Remove usage of alloca in getopt.c and all makefiles.
1108 Use ASCPP instead of CPP to avoid breaking AC_HEADER_CHECK on RiscOS.
1109 Added the zfile shell script in subdirectory sample.
1110 Moved the list of compiler bugs from README to INSTALL.
1111 Added vms/Readme.vms.
1112 Fix DIST_BUFSIZE check in unlzh.c for 16 bit machines.
1113 Fix REGSIGTYP macro in configure.in.
1114 Use 'define' instead of == in vms/gzip.hlp.
1115 Avoid warnings in unlzh.c
1116 Allow separate installation of binaries and man pages.
1117 Simplified handling of file names with spaces in zgrep and znew.
1118 Fix dependencies and remove rule for trees.c in amiga/Makefile.sasc
1119 Add missing quote in gzexe.
1120
1121Thu Jun 17 13:47:05 1993 Jean-loup Gailly (jloup@chorus.fr)
1122
1123 * version 1.2.2
1124 Fix a compilation error in gzip.c on Sun with cc (worked with gcc).
1125
1126Wed Jun 16 11:20:27 1993 Jean-loup Gailly (jloup@chorus.fr)
1127
1128 * version 1.2.1
1129 Let zmore act as more if the data is not gzipped.
1130 By default, display output name only when name was actually truncated.
1131 Use absolute path names in gzexe'd programs for better security.
1132 In gzexe, use chmod 700 instead of 755 and don't gzexe tail,rm,etc...
1133 Update vms/gzip.hlp.
1134 Added a note about the fast options (-1 to -3) in algorithm.doc.
1135 Improved man page for zgrep.
1136 Minor fixes to gzip.texi.
1137 Always set LC_ALL and LANG in configure (for tr on HPUX)
1138
1139Mon Jun 14 10:03:24 1993 Jean-loup Gailly (jloup@chorus.fr)
1140
1141 * version 1.2
1142 Added the --list option to display the file characteristics.
1143 Added the --no-name option: do not save or restore original filename
1144 Save the original name by default.
1145 Allow gunzip --suffix "" to attempt decompression on any file
1146 regardless of its extension if an original name is present.
1147 Add support for the SCO compress -H format.
1148 gzip --fast now compresses faster (speed close to that of compress)
1149 with degraded compression ratio (but still better than compress).
1150 Default level changed to -6 (acts exactly as previous level -5) to
1151 be a better indication of its placement in the speed/ratio range.
1152 Use smart name truncation: 123456789012.c -> 123456789.c.gz
1153 instead of 12345678901.gz
1154 With --force, let zcat pass non gzip'ed data unchanged (zcat == cat)
1155 Added the zgrep shell script.
1156 Made sub.c useful for 16 bit sound, 24 bit images, etc..
1157 Supress warnings about suffix for gunzip -r, except with --verbose.
1158 Moved the sample programs to a subdirectory sample.
1159 On MSDOS, use .gz extension when possible (files without extension)
1160 Added a "Special targets" section in INSTALL.
1161 Use stty -g correctly in zmore.in.
1162 Use cheaper test for gzipness in zforce.in.
1163 Remove space before $ in match.S (no longer accepted by gas 2.x)
1164 For the shell scripts, do not assume that gzip is in the path.
1165 Fix syntax error and define lnk$library in vms/Makefile.mms
1166 REGSIGTYPE is void on the Amiga.
1167 Do not write empty line when decompressing stdin with --verbose.
1168 Fix the 1.1.2 fix for VMS (bug in get_suffix)
1169 Added warning in README about compiler bug on Solaris 2.1 for x86.
1170 Added warning about 'rehash' in INSTALL.
1171 Removed default value of read_buf in bits.c (supermax doesn't like).
1172 In tailor.h, added support for Borland C and Zortech C on OS/2.
1173 Added warning in gzexe about Ultrix buggy sh (use /bin/sh5 instead).
1174 Added warning in zdiff about AIX buggy sh (use /bin/ksh instead).
1175 In configure.in, do not try the asm code if DEFS contains NO_ASM
1176
1177Fri Jun 4 09:49:33 1993 Jean-loup Gailly (jloup@chorus.fr)
1178
1179 * version 1.1.2
1180 Fix serious bug for VMS (-gz not removed when decompressing).
1181 Allow suffix other than .gz in znew.
1182 Do not display compression ratio when decompressing stdin.
1183 In zmore.in, work around brain damaged stty -g (Ultrix).
1184 Display a correct compression ratio for .Z files.
1185 Added .z to .gz renaming script in INTALL.
1186 Allow setting CFLAGS in configure.
1187 Add warning in README about bug in Concentrix cc compiler.
1188 Avoid || in Makefile.in (at least one make doesn't support this).
1189 Disable useless --ascii option for the Amiga.
1190 Add a pointer to the Primos executable in README.
1191 Added description of extra field in algorithm.doc.
1192 Do not redefine NULL in alloca.c.
1193 Added check for unsupported compression methods.
1194 Avoid getopt redeclaration on OSF/1.
1195
1196Tue Jun 1 09:07:15 1993 Jean-loup Gailly (jloup@chorus.fr)
1197
1198 * version 1.1.1
1199 Fix serious bug in vms.c (== instead of =).
1200 Added --ascii option.
1201 Add workaround in configure.in for Ultrix (quote eval argument)
1202 Do not use unset in znew (not supported on Ultrix)
1203 Use tar.gz instead of tar.z for the distribution of gzip.
1204 Add missing menu item in gzip.texi.
1205 Use size_t instead of unsigned, add AC_SIZE_T in configure.in.
1206
1207Fri May 28 11:40:01 1993 Jean-loup Gailly (jloup@chorus.fr)
1208
1209 * version 1.1
1210 Use .gz suffix by default, add --suffix option.
1211 Let gunzip accept a "_z" suffix (used by one 'compress' on Vax/VMS).
1212 Quit when reading garbage from stdin instead of reporting an error.
1213 Added sub.c and add.c for compression of 8 bit images.
1214 Added makefile for VAX/MMS and support for wildcards on VMS.
1215 Added support for MSC under OS/2.
1216 Added support for Prime/PRIMOS.
1217 Display compression ratio also when decompressing.
1218 Quit after --version (GNU standard)
1219 Use --force to bypass isatty() check.
1220 Accept --silent as synonym for --quiet (see longopts.table)
1221 Accept --to-stdout as synonym for --stdout (see longopts.table)
1222 Accept -H and -? in addition to -h and --help.
1223 Added comparison of zip and gzip in the readme file.
1224 Return an error code in all main compression/decompression functions.
1225 Continue processing other files in case of recoverable error.
1226 Add description of -f in znew.1.
1227 Do not keep uncompressed version for znew -t if .gz already exists.
1228 On Unix, use only st_ino and st_dev in same_file().
1229 Use S_IRUSR and S_IWUSR if they exist.
1230 "test $1 = -d" -> "test x$1 = x-d" in gzexe.
1231 In match.S, use symbol sysV68 to detect the Motorola Delta.
1232 Do not include memory.h with gcc (conflicting declarations on Sun).
1233 Fix more typos.
1234 On VMS, define unlink as delete also for gcc.
1235 In "make check", unset LANG because "wc -c" fails on Kanji.
1236 Renamed shdir as scriptdir.
1237 Use the 68020 code instead of 68000 code on the NeXT.
1238 Documented --uncompress as synonym for --decompress.
1239 Include the standard header files before gzip.h (needed on Bull).
1240 Do not assume that _POSIX_VERSION implies dirent.h present.
1241 Removed gzip-tar.patch since tar 1.11.2 handles gzip directly.
1242 Use less memory when compiled with -DSMALL_MEM (for MSDOS).
1243 Optimized updcrc().
1244 Don't complain if cc -E does not work correctly.
1245 Do not attempt reading 64K bytes on 16 bit Unix systems.
1246 Do not use the variable name 'overhead' which is reserved on Lynx!
1247 One BULL compiler does not like *p++ in inflate.c => *p, p++.
1248 Use casts on free and memcmp to avoid warnings.
1249 Remove the "off by more than one minute" time stamp kludge, but
1250 document how to avoid saving the time stamp on pipes if desired.
1251 Include crypt.h in inflate.c (one system predefines the CRYPT symbol).
1252 Add links to gunzip and (g)zcat in the default make rule.
1253 Create installation directories if they do not exist.
1254 Clarified --prefix option in INSTALL.
1255 Use symbol mc68k in match.S for the DIAB DS90.
1256 Guard against zero length _match.s in configure.in.
1257 In zmore, restore all tty options using stty -g.
1258 Added support for MacOS
1259 Simplified makecrc.c.
1260 Avoid warnings in getopt.c, util.c, unlzw.c.
1261 Use autoconf 1.4, in particular for INSTALL and AC_HAVE_POUNDBANG
1262 Use .so instead of hard links for zcat.1, gunzip.1 and zcmp.1.
1263 Fixed declration of sig_type.
1264 Make consistency check in fcfree.
1265 Added ztouch.
1266 Do not complain if utime fails on a directory (for OS/2).
1267
1268Thu Mar 18 18:56:43 1993 Jean-loup Gailly (jloup@chorus.fr)
1269
1270 * version 1.0.7
1271 Allow zmore to read from standard input (like more).
1272 Support the 68000 (Atari ST) in match.S.
1273 Retry partial writes (required on Linux when gzip is suspended in
1274 a pipe).
1275 Allow full pathnames and renamings in gzexe.
1276 Don't let gzexe compress setuid executables or gzip itself.
1277 Added vms/Makefile.gcc for gcc on the Vax.
1278 Give a pointer to Solaris and VMS executables of gzip in README.
1279 Allow installation of binaries and shell scripts in different dirs.
1280 Do not use alloca on the Cray.
1281 Provide strspn and strcspn if string.h does not exist.
1282 Define O_CREAT and O_EXCL from FCREAT and FEXCL if necessary.
1283 Remove gzip.doc in make realclean.
1284 Fixed many typos. (Corrections to my English are welcome.)
1285 Put "make manext=l install" at the correct place in INSTALL.
1286 Fix incorrect examples in INSTALL and give more examples.
1287 Include zdiff.1 for install and uninstall.
1288 Allows complex PAGER variable in zmore (e.g.: PAGER="col -x | more")
1289 Avoid warning on unused indfound in getopt.c.
1290 Cast memset arg to void* (required by some buggy compilers).
1291 Include sys/types.h before dirent.h in acgeneral.m4.
1292 Fix acgeneral.m4 AC_COMPILE_CHECK to avoid warnings.
1293 Don't use alloca.c with gcc. (One NeXT user did not have alloca.h).
1294 Change all error messages according to GNU standards.
1295 Restore time stamp only if off by more than one minute.
1296 Allow installation of zcat as gzcat.
1297 Suppress help message and send compressed data to the terminal when
1298 gzip is invoked without parameters and without redirection.
1299 (Explicit request from Noah Friedman.)
1300 Add compile option GNU_STANDARD to respect the GNU coding standards:
1301 with -DGNU_STANDARD, behave as gzip even if invoked under the
1302 name gunzip. (Complaints to /dev/null or the FSF, not to me!)
1303
1304Fri Mar 10 13:27:18 1993 Jean-loup Gailly (jloup@chorus.fr)
1305
1306 * version 1.0.6
1307 Let gzexe detect executables that are already gzexe'd.
1308 Don't try restoring record format on VMS (the simple 1.0.5 code
1309 worked correctly only on fixed-512 files). Suppress text_mode.
1310 Added asm version for 68000 in amiga/match.a.
1311 Use asm version for Atari TT.
1312 Fix "make clean" in vms/Makefile.vms.
1313 For OS/2, assume HPFS by default, add flag OS2FAT if necessary.
1314 Fixed some bugs in zdiff and define zcmp as a link to zdiff.
1315 Added zdiff.1
1316 Remove configure hack for NeXT; add general fix to autoconf instead
1317 Do not strip a ".z" extension if this results in an empty name.
1318 Avoid array overflow in get_prefix() for extensions > 10 chars.
1319 Accept either q or e to quit zmore.
1320 In zmore, try restoring tty mode in all cases.
1321 Use Motorola style for match.S on the NeXT.
1322 configure.in: unsetenv *hangs* with the Siemens csh...
1323 Update vms/gzip.hlp.
1324
1325Thu Mar 4 14:13:34 1993 Jean-loup Gailly (jloup@chorus.fr)
1326
1327 * version 1.0.5
1328 For VMS, restore the file type for variable record format, otherwise
1329 extract in fixed length format (not perfect, but better than
1330 forcing all files to be in stream_LF format).
1331 Use "-z" suffix for VMS.
1332 Use only .z, .*-z, .tgz, .taz as valid gzip extensions; update
1333 zforce accordingly.
1334 Allow a version number in input file names for VMS.
1335 Added sample program zread.c.
1336 Fix "make check" for some implementations of /bin/sh.
1337 Don't rely on stat() for filenames with extension > 3 chars
1338 on MSDOS, OS2 and Atari.
1339 Garbage collect files in /tmp created by gzexe.
1340 Quote $opt in znew.
1341 Use TOUCH env variable in znew if it exists.
1342 Better error message for gunzip on empty or truncated file.
1343 Allow prototypes in getopt.h when __STDC__ defined but 0.
1344 Added "make clean" in vms/Makefile.vms.
1345 Removed -g from default CFLAGS (with Noah's permission!)
1346 Avoid too many HAVE_xxx_H for most systems; use common defaults.
1347 Moved default Atari flags into tailor.h for consistency.
1348 Use memzero() to clear the hash table.
1349 Update vms/gzip.hlp to reflect the VMS behavior.
1350 Fix OS_CODE (to fit in a byte).
1351 Add utime.h for the Amiga.
1352 Add gcc support for the Amiga.
1353 Work around incorrect dirent.h for NeXT 2.0.
1354 Added Makefile entry for Coherent.
1355
1356Fri Feb 22 11:20:49 1993 Jean-loup Gailly (jloup@chorus.fr)
1357
1358 * version 1.0.4
1359 Added optimized asm version for 68020.
1360 Add support for DJGPP.
1361 Add support for the Atari ST.
1362 Added zforce to rename gzip'ed files with truncated names.
1363 Do not install with name uncompress (some systems rely on the
1364 absence of any check in the old uncompress).
1365 Added missing function (fcfree) in msdos/tailor.c
1366 Let gunzip handle .tgz files, and let gzip skip them.
1367 Added 'stty min 1' in zmore for SysV and fixed trap code.
1368 Suppress .PHONY in Makefile.in, which breaks old makes.
1369 Added documentation about pcat and unpack in INSTALL.
1370 Add cast to getenv for systems without stdlib.h.
1371 Use VAXC instead of VMS to avoid confusion for gcc.
1372 Add -K to znew.1.
1373 Add gzexe.1.
1374 Try preserving file permissions in gzexe.
1375 Added -d option for gzexe.
1376 Guard against spaces in file names in gzexe.
1377 Use CMP env. variable in zcmp.
1378 Return a warning exit status for gzip of file with .z suffix.
1379 Suppress usage of d_ino which is not portable to all systems.
1380 Use #ifdef instead of #if for consistency.
1381 For VMS, use "cc util.c" instead of "cc util" (pb with logical names)
1382 Added utime() for Amiga.
1383 Renamed gzcat.1 as zcat.1.
1384 Include fcntl.h for Amiga (for read and write).
1385 For VMS, add definition of symbols and links in the makefiles.
1386 Give a VMS look to vms/gzip.hlp.
1387 Save the original name only when necessary.
1388 Add a mode parameter for open in read mode (required by VMS).
1389 For VMS, remove the version suffix from the original name.
1390 Accept both / and \ as path separator for MSDOS.
1391 Let gunzip extract stored .zip files correctly.
1392 Added warning about VFC format in vms/gzip.hlp.
1393 In znew, skip a bad file but process the others.
1394 Cleanup tailor.h.
1395 Use GZIP_OPT for VMS to avoid conflict with program name.
1396 Added description of GZIP variable in gzip.texi.
1397
1398Thu Feb 11 17:21:32 1993 Jean-loup Gailly (jloup@chorus.fr)
1399
1400 * version 1.0.3
1401 Add -K option for znew to keep old .Z files if smaller.
1402 Add -q option (quiet) to cancel -v in GZIP env variable.
1403 For Turbo C, normalize pointers before freeing them.
1404 Add more safety checks in add_envopt().
1405 Add do_exit() for uniform exit path (always free memory).
1406 Reduce MAX_PATH_LEN for MSDOS.
1407 Include sys/types.h before signal.h
1408 Avoid strdup, the NeXT does not have it.
1409 Made gzexe safer on systems with filename limitation to 14 chars.
1410
1411Fri Feb 10 09:45:49 1993 Jean-loup Gailly (jloup@chorus.fr)
1412
1413 * version 1.0.2
1414 Added env variable GZIP for default options.
1415 Added support for the Amiga.
1416 znew now keeps the old .Z if it is smaller than the .z file.
1417 Added gzexe to compress rarely used executables.
1418 Reduce memory usage when using static allocation (no DYN_ALLOC).
1419 Better separation of warning and error return codes.
1420 Fix unlzw.c to make DYN_ALLOC and MAXSEG_64K independent options.
1421 Allow INBUFSIZ to be >= 32K in unlzw (don't use sign of rsize)
1422 Generate tar file in old format to avoid problems with old systems.
1423 Preserve time stamp in znew -P if touch -r works.
1424 Use ${PAGER-more} instead of ${PAGER:-more} in zmore.
1425 Do not use unsigned instead of mode_t.
1426 Better error message for trailing garbage in .z file; ignore this
1427 garbage on VMS.
1428 In zmore, use icanon instead of -cbreak on SYSV.
1429 Add trap handler in zmore.
1430 Use char* instead of void* for non STDC compilers.
1431 Added makefile entry for Xenix on 286.
1432 Return an error code when existing file was not overwritten.
1433 Use prototype of lzw.h for lzw.c.
1434 Fix znew with -P option alone.
1435 Give warning for directories even without -v.
1436 Close output file before unlink() in case of error.
1437 Suppress all target dependent ifdef from the portable files.
1438 Free all dynamically allocated variables upon exit.
1439
1440Thu Feb 4 18:23:56 1993 Jean-loup Gailly (jloup@chorus.fr)
1441
1442 * version 1.0.1
1443 Fixed some trivial errors in msdos/Makefile.bor
1444
1445Thu Feb 4 10:00:59 1993 Jean-loup Gailly (jloup@chorus.fr)
1446
1447 * version 1.0
1448 gzip now runs on Vax/VMS (Amiga support will come in next version).
1449 Do not overwrite files without -f when using /bin/sh.
1450 Support the test option -t for compressed (.Z) files.
1451 Flush output for bad compressed files. Add warning in README.
1452 Added makefiles for MSDOS.
1453 Don't rely on presence of csh in configure
1454 Added gunzip.1 and gzcat.1.
1455 Updated znew.1.
1456 Check reserved flags in unlzw().
1457 Return dummy value in main to avoid lint warning.
1458 Define OF in lzw.h for lint.
1459 Allow both "znew -v -t" and "znew -vt".
1460 Don't overwrite the output file name for multiple parts.
1461 Echo just a warning if configure is out of date.
1462 Use ; instead of , in trees.c (confuses the SAS Amiga compiler).
1463 In INSTALL, document "DEFS='-DM_XENIX' ./configure".
1464 Use OTHER_PATH_SEP for more portability (DOS, OS2, VMS, AMIGA).
1465 Make all directories world writable for broken versions of tar.
1466 Use gzip -cd instead of zcat in zmore, zcmp, zdiff.
1467 Don't use GNU tar for distributions, some systems can't untar.
1468 Do not exit() for gzip --version.
1469
1470Mon Jan 26 10:26:42 1993 Jean-loup Gailly (jloup@chorus.fr)
1471
1472 * Beta version 0.8.2
1473 Avoid 'far' declarations for MSDOS.
1474 Use test -f instead of test -x in configure.in (for Ultrix)
1475 Add empty else part to if in Makefile.in for broken shells.
1476 Use NO_UNDERLINE instead of UNDERLINE (pb with Linux cpp)
1477 Accept continuation files with -ff (for damage recovery)
1478 Small patch to Makefile.os2
1479 Use memzero instead of bzero to avoid potential conflicts
1480 Document restriction on extraction of zip files.
1481 Fix quoting in ACL_HAVE_SHELL_HACK.
1482 Do not check file size on MSDOS because of bug in DIET.
1483 Allow zcat on a file with multiple links.
1484 Add fix in inflate.c for compatibility with pkzip 2.04c.
1485 Release gzip in tar.z and tar format. (No tar.Z).
1486
1487Fri Jan 22 10:04:13 1993 Jean-loup Gailly (jloup@chorus.fr)
1488
1489 * Beta version 0.8.1
1490 Fixed Makefile.os2
1491 Fixed #if directives that TurboC does not like.
1492 Don't rely on uncompress in znew, use gzip -d.
1493 Add the pipe option -P in znew.
1494 Add some more ideas in TODO.
1495 Support both NDIR and SYSNDIR.
1496
1497Sat Jan 21 15:46:38 1993 Jean-loup Gailly (jloup@chorus.fr)
1498
1499 * Beta version 0.8
1500 Support unpack.
1501 Check for _match.o in configure.in in addition to return status.
1502 Include <sys/types.h> in zip.c
1503 Define local variables and functions as local.
1504 Accept more alternative names for the program (pcat, gzcat, ...).
1505 Accept .exe as well as .EXE.
1506 Uncompress files with multiple links only with -f.
1507 Better error message for gunzip of non-existent file.z.
1508 Fix the entry for /etc/magic in INSTALL.
1509 Use AC_HAVE_HEADERS uniformly instead of special macros.
1510 Install the man pages as .1 by default instead of .l.
1511 Document crypt++.el in README.
1512 Fix for unlzw() on 16-bit machines (bitmask must be unsigned).
1513 Complain if input and output files are identical.
1514 Create a correct output name for files of exactly 13 chars.
1515 Do not overwrite CPP if set
1516 Check for i386 before trying to assemble match.s
1517 Check for underline in external name before assembling
1518 Add patch for tar 1.11.1.
1519
1520Mon Jan 5 10:16:24 1993 Jean-loup Gailly (jloup@chorus.fr)
1521
1522 * Beta version 0.7
1523 Use "make check" instead of "make test".
1524 Do not rely on dirname in znew.
1525 Keep time stamp and pass options to gzip in znew.
1526 Rename .l files back to .1 to avoid conflict with lex
1527 Do not create .z.z files with gzip -r.
1528 Use nice_match in match.asm
1529 Unroll loops in deflate.c
1530 Do not attempt matches beyond the window end
1531 Allow again gunzip .zip files (was working in 0.5)
1532 Allow again compilation with TurboC 2.0 (was working in 0.4)
1533
1534Tue Dec 30 20:00:19 1992 Jean-loup Gailly (jloup@chorus.fr)
1535
1536 * Beta version 0.6
1537 The .z extension is used by pack, not compact (README, gzip.1)
1538 Accept gzcat in addition to zcat.
1539 Use PAGER in zmore if defined.
1540 Man pages for /usr/local/man/manl should have extension .l.
1541 Don't redefine bzero on the NeXT
1542 Allow incomplete Huffman table if there is only one code.
1543 Don't lookahead more than 7 bits (caused premature EOF).
1544 Added "make test" to check for compiler bugs.
1545 Don't rely on `i386`; try to assemble directly
1546 Change magic header to avoid conflict with freeze 1.x.
1547 Added entry for /etc/magic in INSTALL.
1548 Do not destroy an input .zip file with more than one member.
1549 Display "untested" instead of "OK" for gzip -t foo.Z
1550 With -t, skip stdin in .Z format
1551 Allow multiple compressed members in an input file.
1552 Ignore a zero time stamp.
1553 Made znew safer.
1554
1555Tue Dec 29 10:00:19 1992 Noah Friedman (friedman@gnu.ai.mit.edu)
1556
1557 Added test for #!/bin/sh in configure.in.
1558 Fix some references to $srcdir in Makefile.in
1559
1560Mon Dec 21 17:33:35 1992 Jean-Loup Gailly (jloup@chorus.fr)
1561
1562 * Beta version 0.5
1563 Put RCS ids in all files.
1564 Added znew to recompress old .Z files with gzip.
1565 Avoid "already .z suffix" messages for -r and no -v.
1566 Put back check for d_ino in treat_dir().
1567 Use HAVE_STRING_H instead of USG.
1568 Added os2/Makefile.os2
1569 Use SYSUTIME on OS/2.
1570 Info dir is $(prefix)/info, not $(prefix)/lib/info.
1571 Support long options, added getopt and alloca
1572 Support -V and -t
1573 Reorder configure.in according to suggestions in autoconf.info
1574 Allow links when not removing original file
1575 Allow either .z or .Z in zdiff
1576
1577Wed Nov 25 11:40:04 1992 Jean-loup Gailly (jloup@chorus.fr)
1578
1579 * Beta version 0.4.1
1580 Save only the original base name, don't include any directory prefix.
1581 Don't use HAVE_LONG_FILE_NAMES (support multiple file system types).
1582 Fix declaration of abort_gzip in gzip.h.
1583 Include unistd.h when it exists to avoid warnings with gcc -Wall.
1584
1585Mon Nov 23 12:39:01 1992 Jean-loup Gailly (jloup@chorus.fr)
1586
1587 * Beta version 0.4
1588 Lots of cleanup
1589 Use autoconf generated 'configure'
1590 Fixed the NO_MULTIPLE_DOTS code
1591 Fixed the save_orig_name code
1592 Support for MSDOS (Turbo C)
1593
1594Thu Nov 19 15:18:22 1992 Jean-loup Gailly (jloup@chorus.fr)
1595
1596 * Beta version 0.3
1597 Added auto configuration. Just type "make" now.
1598 Don't overwrite compress by default in "make install". Use
1599 "make install_compress" to overwrite.
1600 Add match.s for 386 boxes.
1601 Added documentation in texinfo format.
1602 Provide help for "gunzip" invoked without redirected input.
1603 Save original file name when necessary.
1604 Support OS/2 (Kai-Uwe Rommel).
1605
1606Tue Nov 17 14:32:53 1992 Jean-loup Gailly (jloup@chorus.fr)
1607
1608 * Alpha version 0.2.4
1609 Return 0 in get_istat() when ok (caused error with zcat).
1610 Don't update crc on compressed data (caused crc errors on
1611 large files).
1612
1613Fri Nov 13 15:04:12 1992 Jean-loup Gailly (jloup@chorus.fr)
1614
1615 * Alpha version 0.2.3
1616 Initialize rsize in unlzw.c
1617 Initialize ofd for zcat.
1618 Do not use volatile ifname as argument of treat_dir.
1619 Add -1 to -9 in gzip.1.
1620
1621Sat Oct 31 18:30:00 1992 Jean-loup Gailly (jloup@chorus.fr)
1622
1623 * Alpha version 0.2.2.
1624 Fix error messages.
1625 Accept gunzip on zip files.
1626
1627Sat Oct 31 17:15:00 1992 Jean-loup Gailly (jloup@chorus.fr)
1628
1629 * Alpha version 0.2.1
1630 Use ctype.h in util.c (problem on SysV).
1631 Create BINDIR if it does not exist.
1632 Use cc by default.
1633 Added zcmp, zmore, zdiff.
1634 Fixed the man page gzip.1.
1635
1636Sat Oct 31 17:00:00 1992 Jean-loup Gailly (jloup@chorus.fr)
1637
1638 * Alpha version 0.2
1639 Fixed compilation problems with gcc
1640
1641Sat Oct 31 12:46:00 1992 Jean-loup Gailly (jloup@chorus.fr)
1642
1643 * Alpha version 0.1 released (under time pressure), so it's not
1644 much tested, sorry.
1645
1646
1647 -----
1648
1649 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2006, 2007 Free
1650 Software Foundation, Inc.
1651
1652 Copyright (C) 1992, 1993 Jean-loup Gailly
1653
1654 Copying and distribution of this file, with or without
1655 modification, are permitted provided the copyright notice
1656 and this notice are preserved.
Note: See TracBrowser for help on using the repository browser.