[Zlib-devel] zlib 1.2.3.2 available for testing
William A. Rowe, Jr.
wrowe at rowe-clan.net
Tue Sep 5 18:13:53 EDT 2006
Mark Adler wrote:
>
> Maybe zlib shouldn't bother with any of this at all, and just leave
> it to the user to force off_t to the right type.
For the external API in all cases for 1.3.0, what if file size/offset was
always defined in terms of 64 bits? Using any off_t or other type in the
external interfaces seems very dicey. Multiple installed flavors of zlib
is not really a solution either.
If we can detect the correct sequence to enable 64 bit operations then
use those, internally, when compiling the lib.
FYI this is a problem (mostly) solved in the Apache Portable Runtime, if
you are looking for clues about how to proceed. http://apr.apache.org/
I'd refer you exclusively to the current version or development trunk,
the older (widely distributed) 0.9 versions didn't get this right.
More information about the Zlib-devel
mailing list