avoid silent data loss e.g., on NFS, due to unchecked close of stdout
authorJim Meyering <meyering@redhat.com>
Sun, 16 Aug 2009 09:39:07 +0000 (11:39 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 07:28:05 +0000 (09:28 +0200)
commit3fe0caeada6aa3abca87b5099594bd87e5dfccfe
tree40c9d8de5bdf1763cc84e253d39de3bd45760521
parent1bf5c2eda32c0f92941b1fd0346fa0bccc38e2f9
avoid silent data loss e.g., on NFS, due to unchecked close of stdout

* 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.
NEWS
bootstrap.conf
gzip.c
lib/.gitignore
m4/.gitignore