* gzip.c: Include "closein.h".
(main): Use atexit (close_stdin);
* bootstrap.conf (gnulib_modules): Add closein.
Prompted by Mark Kidwell's report and patch in
http://bugs.debian.org/538187
* NEWS (Bug fixes): Mention it.
* */.gitignore: Update.
** Bug fixes
+ gzip no longer ignores a close-induced write failure, e.g., on NFS
+
Major changes in Gzip 1.3.12 (2007-04-13)
# gnulib modules used by this package.
gnulib_modules='
+ closein
fcntl
fcntl-safer
fdl
#include <sys/stat.h>
#include <errno.h>
+#include "closein.h"
#include "tailor.h"
#include "gzip.h"
#include "lzw.h"
program_name = gzip_base_name (argv[0]);
proglen = strlen (program_name);
+ atexit (close_stdin);
+
/* Suppress .exe for MSDOS, OS/2 and VMS: */
if (4 < proglen && strequ (program_name + proglen - 4, ".exe"))
program_name[proglen - 4] = '\0';
.deps
Makefile
Makefile.in
+close-stream.c
+close-stream.h
+closein.c
+closein.h
+closeout.c
+closeout.h
+config.charset
config.h
config.hin
creat-safer.c
fcntl.h
fcntl.in.h
fd-safer.c
+fflush.c
+fpending.c
+fpending.h
+fpurge.c
+freadahead.c
+freadahead.h
+freading.c
+freading.h
+fseeko.c
+ftello.c
getopt.c
getopt.in.h
getopt1.c
gnulib.mk
intprops.h
libgzip.a
+localcharset.c
+localcharset.h
+lseek.c
+mbrtowc.c
+mbsinit.c
open-safer.c
open.c
pipe-safer.c
+quotearg.c
+quotearg.h
+ref-add.sin
+ref-del.sin
stamp-h1
stat-time.h
stdbool.in.h
stddef.in.h
stdint.in.h
+stdio-impl.h
+stdio-write.c
+stdio.in.h
stdlib.h
stdlib.in.h
+streq.h
strerror.c
string.h
string.in.h
unistd.in.h
utimens.c
utimens.h
+verify.h
wchar.in.h
+wctype.in.h
xalloc-die.c
xalloc.h
xmalloc.c
00gnulib.m4
+close-stream.m4
+closein.m4
+closeout.m4
+codeset.m4
errno_h.m4
error.m4
exitfail.m4
extensions.m4
fcntl-safer.m4
fcntl_h.m4
+fflush.m4
+fpending.m4
+fpurge.m4
+freading.m4
+fseeko.m4
+ftello.m4
getopt.m4
+glibc21.m4
gnu-make.m4
gnulib-cache.m4
gnulib-common.m4
gnulib-tool.m4
include_next.m4
inline.m4
+localcharset.m4
+locale-fr.m4
+locale-ja.m4
+locale-zh.m4
longlong.m4
+lseek.m4
+mbrtowc.m4
+mbsinit.m4
+mbstate_t.m4
mode_t.m4
multiarch.m4
open.m4
+quotearg.m4
stat-time.m4
stdbool.m4
stddef_h.m4
stdint.m4
+stdio_h.m4
stdlib_h.m4
strerror.m4
string_h.m4
utimes.m4
wchar.m4
wchar_t.m4
+wctype.m4
wint_t.m4
xalloc.m4
yesno.m4