diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-02 10:35:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-02 10:46:57 -0700 |
commit | bce795d0a38ae10f13b3297f1253acdeb4defc21 (patch) | |
tree | 864404baa8278278b6b6ec3d0cf81cb091b805ac /NEWS | |
parent | 222dc8c90f31f7027d0aa7a18206f5c56006f780 (diff) | |
download | gzip-bce795d0a38ae10f13b3297f1253acdeb4defc21.tar.gz |
gzip: make the output more reproducible
Problem reported by Bernhard M. Wiedemann (Bug#32342).
* NEWS: Mention this.
* doc/gzip.texi (Overview, Invoking gzip): Document this.
* gzip.c (get_input_size_and_time): New function,
which implements the change.
(treat_stdin, treat_file): Use it.
* tests/reproducible: New test.
* tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,15 @@ GNU gzip NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Changes in behavior + + Compressed gzip output no longer contains the current time as a + timestamp when the input is not a regular file. Instead, the output + contains a null (zero) timestamp. This makes gzip's behavior more + reproducible when used as part of a pipeline. (As a reminder, even + regular files will use null timestamps after the year 2106, due to a + limitation in the gzip format.) + * Noteworthy changes in release 1.9 (2018-01-07) [stable] |