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