gzip: fix some Y2038 etc. bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2016 21:51:47 +0000 (14:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2016 21:53:32 +0000 (14:53 -0700)
commit51dee92f25d476f28bf126159ee428c7b916008c
tree11328bcd5a8da423799e4d53230686327f2a6e73
parent717269a54752587aa3712046cdec2aa321f4d227
gzip: fix some Y2038 etc. bugs

* NEWS: Document this.
* gzip.c (get_method): Warn about out-of-range MTIME,
and ignore it instead of relying on possibly-undefined behavior.
* tests/Makefile.am (TESTS): Add timestamp.
* tests/timestamp: New test.
* zip.c (zip): Warn about out-of-range file time stamp.
NEWS
gzip.c
tests/Makefile.am
tests/timestamp [new file with mode: 0755]
zip.c