[Zlib-devel] Z_PREFIX list inconsistent with zlib.def

Cosmin Truta cosmin at cs.toronto.edu
Sat May 29 00:05:16 EDT 2004


On Fri, 28 May 2004, Glenn Randers-Pehrson wrote:

> >> It seems that the Z_PREFIX list starting at line 16 in zconf.h
> >> isn't quite consistent with win32/zlib.def.
> >> All of the gz* functions have been omitted, plus inflateBack,
> >> inflateBackEnd, inflateBackInit, zError, and zlibCompileFlags.
>
> The inconsistency is that the functions are present in zlib.def and
> missing from the Z_PREFIX list and the MVS pragma list.

Now I see what you mean. (You might say as well that the Z_PREFIX list
isn't quite consistent with the list of public exports, prototyped in
zlib.h)

It should be easy to fix it by adding inflateBack and friends to this
list, and maybe zError, although I am not sure about the need for the
"z_" prefix prepended to the gz* symbols, zlibVersion, and
zlibCompileFlags.

> >> I'm looking at zconf.h dated November 4, 2003, from the zlib-1.2.1
> >> distribution, and win32/zlib.def dated November 8, 2003.
> >
> >There must be something wrong there [...]
>
> I don't think there is anything wrong with zlib.def.

Sorry, I misunderstood your initial message. I thought that your
complaint referred to win32/zlib.def.

Cosmin




More information about the Zlib-devel mailing list