aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/ext2fs/rw_bitmaps.c
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2015-02-02 16:01:16 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-02-02 16:01:16 +0100
commit7f7ade1964f61172125d9f4fe92f0b07ce8bc7a4 (patch)
treefadfa1f6df6012bdb4f1cebe6fc956aac92e0f83 /e2fsprogs/old_e2fsprogs/ext2fs/rw_bitmaps.c
parent5104645cf87f8cf37c42666c90bb259011cfac58 (diff)
downloadbusybox-7f7ade1964f61172125d9f4fe92f0b07ce8bc7a4.tar.gz
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>
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/ext2fs/rw_bitmaps.c')
0 files changed, 0 insertions, 0 deletions