fsync output file before closing
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Feb 2016 07:21:49 +0000 (23:21 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Feb 2016 07:22:58 +0000 (23:22 -0800)
commit22aac8f8a616a72dbbe0e4119db8ddda0f076c04
tree29ae68780cf9292c5100797b1ecf1bb8e9cb3149
parent7608acdeef34543209730cfb9a235a5435fa09b8
fsync output file before closing

Problem reported by Yanyan Jiang 蒋炎岩 in: http://bugs.gnu.org/22768
* NEWS: Document this.
* bootstrap.conf (gnulib_modules): Add fsync.
* gzip.c (treat_file): Call fsync just before closing the output.
* lib/.gitignore, m4/.gitignore: Add fsync-related gnulib files.
NEWS
bootstrap.conf
gzip.c
lib/.gitignore
m4/.gitignore