1 2009-10-30 Jim Meyering <meyering@redhat.com>
4 * NEWS: Record release date.
6 build: accommodate new syntax-check test
7 * amiga/tailor.c (_expand_args): Change each of three uses of
8 "exit(20)" to "exit(EXIT_FAILURE)".
9 * sample/add.c: Include <stdlib.h>.
10 (main): Use EXIT_FAILURE and EXIT_SUCCESS, not 1 and 0.
11 * sample/sub.c (main): Likewise.
12 * sample/zread.c (main): Likewise.
14 build: update gnulib submodule to latest
16 build: link with $(LIB_CLOCK_GETTIME)
17 * Makefile.am (gzip_LDADD): Add $(LIB_CLOCK_GETTIME), now that
18 utimens pulls in gettime.
19 (FILES_TO_CHECK): Remove $(gzip_LDADD), now that it may contain -lrt.
21 2009-10-28 Jim Meyering <meyering@redhat.com>
23 msdos: fix syntax in Makefile.djg
24 * msdos/Makefile.djg (gzip): Change each of two leading 8-space
25 sequences to a TAB. Reported by Allan Mui.
27 2009-10-20 Jim Meyering <meyering@redhat.com>
29 build: do not use AC_PREFIX_PROGRAM
30 * configure.ac: Do not use "AC_PREFIX_PROGRAM(gzip)".
31 It would induce behavior that is so surprising that it is probably
32 universally considered to be buggy, these days. Reported by Zube
33 in http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/273
35 2009-10-10 Jim Meyering <meyering@redhat.com>
37 gzip: add tests for today's bug fix
38 * tests/trailing-nul: New file. Test for today's fix.
39 * Makefile.am (TESTS): Add new script.
40 * NEWS (Bug fixes): Mention it.
42 2009-10-10 Daniel Barkalow <barkalow@iabervon.org>
44 gzip: don't fail when there is exactly one trailing NUL byte
45 * gzip.c (get_method): Require the second byte of magic only if
46 the first byte was nonzero.
48 2009-10-09 Jim Meyering <meyering@redhat.com>
50 build: enable automake color- and parallel-test options
51 * configure.ac (AM_INIT_AUTOMAKE): Enable color-tests and parallel-tests.
53 zgrep: portability improvements; exercise "-f -"
54 * zgrep.in: Adjust loop not to use seq; it's not portable enough.
55 Fail if we don't find a free file descriptor.
56 (exists): New function; Use it in place of less portable "test -e".
57 Testing for existence of /dev/fd/$fd doesn't work on Solaris 10,
58 since all 256 always exist (as char devices), but testing for
59 /proc/$$/fd/$fd does work, so do that instead.
60 * Makefile.am (TESTS): Add tests/zgrep-f.
61 * tests/zgrep-f: New test; exercise this bug.
62 * NEWS (Bug fixes): Mention it.
64 2009-10-09 Carl Worth <cworth@cworth.org>
66 zgrep: handle "-f -" the same way that it works with grep
67 Before this change, echo needle|zgrep -f - haystack.gz would not work.
68 * zgrep.in: When the pattern comes from stdin, redirect it to a
69 different file descriptor, since we're about to use stdin.
71 2009-10-09 Jim Meyering <meyering@redhat.com>
73 zdiff would exit 2 (error) rather than 1 for differences
74 * zdiff.in: Save and restore cmp's exit status around a case
75 statement that would otherwise clobber its value.
76 * NEWS (Bug fixes): Mention it.
77 * tests/zdiff: New test; exercise both bugs.
78 * tests/test-lib.sh: New file. From coreutils.
79 * Makefile.am (EXTRA_DIST): Add tests/test-lib.sh.
80 (TESTS): Add tests/zdiff.
81 (TESTS_ENVIRONMENT): Define. From coreutils.
82 (EXTRA_DIST): Append all $(TESTS).
84 zdiff: fix malfunction when operating on two gzip'd inputs
85 zdiff would fail to print differences in two compressed inputs
86 * zdiff.in: Don't let cmp output mix with echo'd gzip exit
87 status values. Report and fix from Jörg-Volker Peetz via
88 <http://bugs.debian.org/434275>
89 * NEWS (Bug fixes): Mention it.
91 build: update gnulib submodule to latest
93 2009-10-07 Jim Meyering <meyering@redhat.com>
95 build: update gnulib submodule to latest
97 2009-10-06 Jim Meyering <meyering@redhat.com>
99 maint: clarify web-doc-update instructions
100 * README-release: sync a tiny change from coreutils.
102 2009-10-03 Jim Meyering <meyering@redhat.com>
104 build: update gnulib submodule to latest
106 doc: use gnu-web-doc-update module
107 * bootstrap.conf (gnulib_modules): Add it.
109 2009-10-02 Jim Meyering <meyering@redhat.com>
111 doc: describe release procedure
112 * README-release: New file.
114 2009-10-01 Jim Meyering <meyering@redhat.com>
116 maint: make cfg.mk slightly more generic
117 * cfg.mk (url_dir_list): Don't hard-code "coreutils". Use $(PACKAGE).
119 2009-09-30 Jim Meyering <meyering@redhat.com>
121 post-release administrivia
122 * NEWS: Add header line for next release.
123 * .prev-version: Record previous version.
124 * cfg.mk (old_NEWS_hash): Auto-update.
127 * NEWS: Record release date.
129 build: update gnulib submodule to latest
131 maint: update bootstrap script
132 * bootstrap (with_gettext): Update from coreutils.
134 maint: pull in two release-related modules from gnulib
135 * bootstrap.conf (gnulib_modules): Add announce-gen and gnupload.
137 build: use more gnulib modules for better POSIX compliance
138 * bootstrap.conf (gnulib_modules): Add modules exposed via
139 make CFLAGS=-DGNULIB_POSIXCHECK 2>&1 \
140 |perl -lne '/.* use gnulib module (\S+).*/ and print $1' \
141 |sort |uniq -c|sort -nr
142 Add these: calloc close fclose fprintf-posix lstat malloc
143 perror printf-posix realloc
145 2009-09-30 Karl Berry <karl@freefriends.org>
147 doc: update to FDL 1.3, minor clean-up
148 * NEWS, README, TODO: Update FDL s/1.2/1.3/.
150 2009-09-28 Karl Berry <karl@freefriends.org>
152 doc: update gzip.texi
153 * doc/gzip.texi: FDL 1.3+
154 Consistently (de)capitalize section names.
155 "User's" is not correct; seems best to simplify the title.
156 Throw in some "GNU"'s.
157 Make direntries be what we actually want.
160 2009-09-26 Jim Meyering <meyering@redhat.com>
162 maint: temporarily exempt failing syntax-check tests
163 * cfg.mk (local-checks-to-skip): Add the list of currently-failing
164 tests, to exempt them from "make syntax-check".
166 gzip: don't use an uninitialized file descriptor
167 gzip interprets an argument of "-" as indicating stdin, but when
168 "-" is not the first name on the command line, it doesn't work.
169 * gzip.c (treat_stdin): Initialize "ifd".
170 Patch and fine description by Lasse Collin in
171 http://www.mail-archive.com/bug-gzip@gnu.org/msg00213.html
172 * Makefile.am (check-local): Exercise the fix. Based on the above.
173 * NEWS (Bug fixes): Mention this.
175 maint: use a git submodule for gnulib
176 * .gitmodules: New file, to track gnulib.
177 * gnulib: New file, created by running this:
178 git submodule add git://git.sv.gnu.org/gnulib.git gnulib
180 maint: update existing copyright year lists to include 2009
181 * bootstrap.conf (gnulib_modules): Add update-copyright.
183 maint: include <config.h> first in many files
185 maint: avoid another "make syntax-check" failure
186 * lib/Makefile.am (match.$(OBJEXT)): Use $(ASCPPPOST), not @ASCPPPOST@.
188 maint: remove RCS $Id$ variables and comments
190 maint: change spelling in comments: s/filesystem/file system/
192 maint: don't use "the the"
193 * msdos/doturboc.bat: s/the the/the/.
195 maint: remove trailing blanks
197 maint: remove useless if-before-free tests
198 * gzip.c (do_exit): Remove useless if-before-free tests.
200 maint: remove useless casts to avoid "make syntax-check" failures
201 * gzip.c (do_exit): Remove anachronistic cast.
202 * inflate.c (huft_free): Likewise.
203 * util.c (add_envopt): Likewise.
204 * vms/vms.c (vms_expand_args): Likewise.
206 maint: new file: .prev-version
207 * .prev-version: New file, to record previous version number.
209 2009-09-06 Jim Meyering <meyering@redhat.com>
211 build: avoid spurious warnings from clang
212 * gzip.h (gzip_error): Declare with ATTRIBUTE_NORETURN.
214 maint: update build-from-scratch infrastructure
215 * bootstrap: Modernize.
216 * bootstrap.conf: Modernize.
219 2009-08-18 Jim Meyering <meyering@redhat.com>
221 inflate: avoid a leak on a error path
222 * inflate.c (inflate_dynamic): Don't leak
224 maint: ignore a few generated files
225 * lib/.gitignore: ignore more generated files.
227 tests: add a test for just-fixed bug
228 * tests/hufts-segv.gz: New file, from bug report.
229 * Makefile.am (EXTRA_DIST): Add tests/hufts-segv.gz.
230 (check-local): Exercise the bug.
232 tests: don't misinterpret a failing test as successful
233 * Makefile.am (check-local): Exit "1" upon failure, not 0.
235 2009-08-18 Thiemo Nagel <thiemo.nagel@ph.tum.de>
237 avoid creating an undersized buffer for the hufts table
238 A malformed input file can cause gzip to crash with a segmentation
239 violation or hang in an endless loop.
240 Reported in <http://bugs.debian.org/507263>.
241 * NEWS (Bug fixes): Mention it.
243 2009-08-18 Jim Meyering <meyering@redhat.com>
245 avoid silent data loss e.g., on NFS, due to unchecked close of stdout
246 * gzip.c: Include "closein.h".
247 (main): Use atexit (close_stdin);
248 * bootstrap.conf (gnulib_modules): Add closein.
249 Prompted by Mark Kidwell's report and patch in
250 http://bugs.debian.org/538187
251 * NEWS (Bug fixes): Mention it.
252 * */.gitignore: Update.
254 build: require automake-1.11 and produce xz-compressed tarballs, too
255 * configure.ac: Require automake-1.11. Use the dist-xz option.
257 build: avoid non-srcdir build failure
258 * Makefile.am (gzip.doc.gz): Use $(srcdir)/gzip.doc, not gzip.doc.
259 Don't redirect directly to $@. Use $(AM_V_GEN).
260 (gzip.doc, .in): Don't redirect directly to $@. Use $(AM_V_GEN).
261 * NEWS: Add template header for upcoming release.
263 build: enable git-version-gen, automake silent rules, generate ChangeLog
264 * configure.ac (AC_INIT): Use git-version-gen.
265 Use AM_SILENT_RULES([yes]).
266 (AM_INIT_AUTOMAKE): Drop gnits; conflicts with git-version-gen versions.
267 * bootstrap.conf (gnulib_modules): Use getopt-gnu
268 Ensure ChangeLog exists, for automake.
269 rather than obsolete "getopt" module.
270 Add gitlog-to-changelog.
272 Add gnu-make, gnumakefile and maintainer-makefile.
273 * Makefile.am (dist-hook, gen-ChangeLog): New rules, to generate
274 ChangeLog and insert it into the distribution tarball.
275 (EXTRA_DIST): Add ChangeLog-2007.
277 maint: retire the last VC'd ChangeLog file
278 * ChangeLog-2007: Rename from ChangeLog.
279 From now on, the ChangeLog file will be generated automatically
282 maint: rename .cvsignore files to .gitignore
283 * .gitignore: Renamed from .cvsignore.
284 * doc/.gitignore: Likewise.
285 * lib/.gitignore: Likewise.
286 * m4/.gitignore: Likewise.