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