busybox/archival
Rich Felker 7f7ade1964 gzip: do not store timestamp in gzip header
Storing the original file's modification time in the output file is
harmful (precludes deterministic results) and unlike official gzip,
the busybox version provides no way to suppress this behavior; the -n
option is silently ignored. Rather than trying to make -n work, this
patch just removes the timestamp-storing functionality. It should be
considered deprecated anyway; it's not Y2038-safe and gunzip ignores
it by default.

Per RFC 1952, 0 is the correct value to store to indicate that there
is no timestamp.

Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-02-02 16:01:16 +01:00
..
libarchive dpkg: update supported compression methods 2015-01-30 15:15:38 +01:00
ar.c archival/*: move "config:" snippets into .c files 2013-11-14 11:39:00 +01:00
bbunzip_test2.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip_test3.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip_test.sh add tests for gunzip 2007-10-05 15:27:03 +00:00
bbunzip.c libarchive: add capability to unpack to mem.buffer 2014-12-07 00:44:00 +01:00
bzip2.c Rename transformer_aux_data_t -> transformer_state_t 2014-12-07 00:42:49 +01:00
Config.src archival/*: move "config:" snippets into .c files 2013-11-14 11:39:00 +01:00
cpio.c cpio: reinstate "options:" line in help text 2014-06-30 17:19:17 +02:00
dpkg_deb.c dpkg: update supported compression methods 2015-01-30 15:15:38 +01:00
dpkg.c dpkg: update supported compression methods 2015-01-30 15:15:38 +01:00
gzip.c gzip: do not store timestamp in gzip header 2015-02-02 16:01:16 +01:00
Kbuild.src archival/*: move "kbuild:" snippets into .c files 2013-11-14 09:53:52 +01:00
lzop.c Rename transformer_aux_data_t -> transformer_state_t 2014-12-07 00:42:49 +01:00
rpm2cpio.c zcat: complain if input is not compressed 2014-02-02 02:06:38 +01:00
rpm.c zcat: complain if input is not compressed 2014-02-02 02:06:38 +01:00
rpm.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tar.c randomconfig fixes 2014-12-22 19:37:05 +01:00
unzip.c libarchive: add capability to unpack to mem.buffer 2014-12-07 00:44:00 +01:00