[Zlib-devel] zlib 1.2.4 released

William A. Rowe Jr. wrowe at rowe-clan.net
Fri Mar 12 17:52:47 EST 2010


On 3/12/2010 1:47 PM, Gilles Vollant wrote:
> gztell64 and gzoffset64, adler32_combine64 and crc32_combine64 are useful on
> Win32 x86 (32 bits for old Pentium Pro, Pentium III by example)
> they are useful for manipulate file large than 4 GB
> z_off64_t is expected to be an integer 64 bits type on 32 bits platform
> 
> be able to manipulate 64 bits zipfile (with new minizip) or with gzip is
> useful even on MS Windows with 32 bits processor

As noted in a sideband dialog, you are right, this would be wonderful, and can
be done with additional work to define z_off64_t in terms of __int64 for the
public zconf.h header on win32.  But since this is not done yet, and because
the existing stubs expected 32 bit arguments and not 64 bit arguments, these
exports were premature and would have introduced very hard-to-debug binary
incompatibility.

Now, it will be a simple binary condition, the symbols are resolved at runtime
or the binary will fail to load zlib1.dll due to missing symbols.  No nested
surprises.




More information about the Zlib-devel mailing list