diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-22 23:21:49 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-22 23:22:58 -0800 |
commit | 22aac8f8a616a72dbbe0e4119db8ddda0f076c04 (patch) | |
tree | 29ae68780cf9292c5100797b1ecf1bb8e9cb3149 /lib | |
parent | 7608acdeef34543209730cfb9a235a5435fa09b8 (diff) | |
download | gzip-22aac8f8a616a72dbbe0e4119db8ddda0f076c04.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore index 81d94ff..a368a26 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -225,3 +225,4 @@ /xsize.h /yesno.c /yesno.h +/fsync.c |