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 /m4 | |
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 'm4')
-rw-r--r-- | m4/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/.gitignore b/m4/.gitignore index 660b926..32f5566 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -150,3 +150,4 @@ /xalloc.m4 /xsize.m4 /yesno.m4 +/fsync.m4 |