Fix problems in porting to NSK reported by Matthew Woehlke in
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Dec 2006 01:19:52 +0000 (01:19 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Dec 2006 01:19:52 +0000 (01:19 +0000)
commit1e7e3769dc4efd55249c475470152acbcf804bb3
treeebff5cf208f54a28e3ce6655ec985120b2e73e6c
parent7d7cdcdc78afeb90614739cc35390623eb6b4b8e
Fix problems in porting to NSK reported by Matthew Woehlke in
<http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00025.html> and
<http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00027.html>.
* gzip.h: Include <limits.h>, for SSIZE_MAX.
(INBUFSIZE): Don't make it any larger than SSIZE_MAX.
Problem reported by Matthew Woehlke in
<http://lists.gnu.org/archive/html/bug-gzip/2006-11/msg00013.html>.
* gzip.c: Don't include <limits.h>, as gzip.h now does this.
* util.c: Likewise.
* gzip.c (main): Set exiting_signal before installing signal handlers.
(install_signal_handlers): Don't set exiting_signal here.  This
fixes a C99ism.
* zip.c: Include timespec.h, for time_stamp type.
ChangeLog
gzip.c
gzip.h
util.c
zip.c