[Zlib-devel] Re: Increased accuracy in guessing strm->data_type

Cosmin Truta cosmin at cs.toronto.edu
Thu Oct 21 03:43:48 EDT 2004


Hi,

Since I sent this message within minutes from the zlib-1.2.2 release,
there may be users who rely on strm->data_type being initialized to
Z_UNKNOWN, then set to the guessed data type. Therefore, I am
withdrawing Proposal 1, in which I was proposing to initialize this
field to Z_BINARY instead of Z_UNKNOWN.

Still, Proposal 2 (about deprecating Z_ASCII and using Z_TEXT instead),
and Proposal 3 (about a faster guessing algorithm, with increased
accuracy) remain, and I would like to hear opinions about their
incorporation into zlib-1.2.3.

**

Given that a bunch of changes to zlib-1.2.2 have accumulated, I prepared
a whole private bundle, which you can download from here:

  http://www.cs.toronto.edu/~cosmin/compr/zlib/zlib-1.2.2.f-cos1.tar.gz

The changes include the strm->data_type modifications discussed here,
the updated DLL_FAQ, the ASM fixes discussed previously, an update to
README.projects regarding some relaxation of requirements (as discussed
with Andrei Polushin), and some other little stuff. It's all listed in
the ChangeLog.


Best regards,
Cosmin




More information about the Zlib-devel mailing list