[vtk-developers] fix for http://zlib.net/zlib_faq.html#faq36

David Cole david.cole at kitware.com
Fri Jan 22 14:40:37 EST 2010


Actually, I think it is a bug.

We Kitware-eans have "fixed" it in our CMake, VTK and ITK code bases like
this:


http://public.kitware.com/cgi-bin/viewcvs.cgi/Utilities/cmzlib/deflate.c?root=CMake&r1=1.2&r2=1.3

http://public.kitware.com/cgi-bin/viewcvs.cgi/Utilities/vtkzlib/deflate.c?r1=1.3&r2=1.4

http://public.kitware.com/cgi-bin/viewcvs.cgi/Utilities/itkzlib/deflate.c?root=Insight&r1=1.2&r2=1.3

It would be delightful if we could get this simple one line addition
committed in the official zlib sources. After all, it's not really a huge
performance hit to zero out this one buffer at initialization time is it?
(deflateInit2_ is only called once per deflate operation, right?)


Thanks for your consideration,

David Cole
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100122/4dc75d92/attachment.html>


More information about the vtk-developers mailing list