[Zlib-devel] [patch] makefile.msc for 1.2.3.9

William A. Rowe Jr. wrowe at rowe-clan.net
Thu Mar 4 22:37:45 EST 2010


On 3/4/2010 3:44 PM, William A. Rowe Jr. wrote:
> and comparing dll exports from 1.2.3 and 1.2.3.9 built with makefile.msc;
> 
> --- 1.2.3	Thu Mar 04 15:41:58 2010
> +++ 1.2.3.9	Thu Mar 04 15:42:20 2010
> @@ -1,51 +1,71 @@
> +adler32_combine64
> +crc32_combine64
> +gzoffset
> +gzoffset64
> +gzopen64
> +gzseek64
> +gztell64

isn't exporting 64 bit entry points which aren't accepting 64 bit arguments
the worst of all worlds?

On win32 cl.exe, the raw compiler type is __int64_t, there is no off64_t that
I'm aware of.  Short of linking to some cyg/msys additional layers, or calling
win32 API's directly (almost all offered 64 bit offsets for the past 2 decades,
but require passing 2 32 bit args), I'm not seeing a straight line to the
implementation.  I had implemented this all at the apr project, but in terms
of apr calls, not 'libc' style calls.  They could probably be ported again if
it was worthwhile, but the underlying msvcrt lib would not be happy.

But exporting these if they aren't implemented as 64 bit offsets seems really
absurd.




More information about the Zlib-devel mailing list