summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-08-02 10:35:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-08-02 10:46:57 -0700
commitbce795d0a38ae10f13b3297f1253acdeb4defc21 (patch)
tree864404baa8278278b6b6ec3d0cf81cb091b805ac /NEWS
parent222dc8c90f31f7027d0aa7a18206f5c56006f780 (diff)
downloadgzip-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--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0e3a126..49c2e9b 100644
--- a/NEWS
+++ b/NEWS
@@ -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]