[Zlib-devel] NO_DEFLATE considered misleading

Cosmin Truta cosmin at cs.toronto.edu
Tue Aug 26 23:33:59 EDT 2003


Hi,

When the NO_DEFLATE conditional is on, the effect is a zlib build
without gzip encoding: no gzwrite, gzprintf, gzputc, or gzflush.

But I consider this name misleading. To me, NO_DEFLATE really says "no
deflate", and I would expect a zlib build without deflation whatsoever.
That would be interesting to tools that are only interested in
decompressing deflate/zlib/gzip streams (e.g. an unzip tool, a PNG/MNG
image viewer without export capabilities, or a lightweight web browser).

I think that a name like NO_GZENCODE better says what it does.

Best regards,
Cosmin





More information about the Zlib-devel mailing list