bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-01 Thread Bernhard M. Wiedemann
This allows for reproducible output of echo foo | gzip | md5sum tar -cz -H ustar SOMEFILE | md5sum See https://reproducible-builds.org/ for why this is good. --- gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.c b/gzip.c index a023d81..4b00e42 100644 --- a/gzip.c +

bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-01 Thread Paul Eggert
Bernhard M. Wiedemann wrote: This allows for reproducible output of echo foo | gzip | md5sum gzip -n already does that, so we don't need to change the gzip source code to get reproducible output.