]> git.lizzy.rs Git - zlib.git/commit
Avoid the need for ssize_t.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 31 Dec 2016 18:03:09 +0000 (10:03 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 31 Dec 2016 18:06:40 +0000 (10:06 -0800)
commitcca27e95cf2bf057b2bbea93702135da3ca7be45
tree10eac4a38123691dfcfaf6026a7d32a702f9067e
parentb7fbee215674c3399212dffba1e71323056931d9
Avoid the need for ssize_t.

Limit read() and write() requests to sizes that fit in an int.
This allows storing the return value in an int, and avoiding the
need to use or construct an ssize_t type. This is required for
Microsoft C, whose _read and _write functions take an unsigned
request and return an int.
configure
gzread.c
gzwrite.c
zconf.h
zconf.h.cmakein
zconf.h.in