[Zlib-devel] zlib 1.2.3.4 Winter Solstice Edition

Mark Brown broonie at sirena.org.uk
Fri Dec 25 10:53:33 EST 2009


On Thu, Dec 24, 2009 at 04:54:33PM -0800, Mark Adler wrote:
> On Dec 24, 2009, at 8:38 AM, Mark Brown wrote:
> > I need the patch below to install the shared library with "make
> > install":

> Done.

I also needed to apply the following reversion patch to avoid triggering
an infinite loop in man-db while rebuilding its caches.  Looking at the
code I suspect that this may actually be a latent issue in man-db that's
been exposed but I've not had time to dig through that properly.

man-db bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562503

Index: debian/gzio.c
===================================================================
--- debian.orig/gzio.c	2009-12-25 15:52:36.000000000 +0000
+++ debian/gzio.c	2009-12-25 15:52:43.000000000 +0000
@@ -432,7 +432,7 @@
     if (s == NULL || s->mode != 'r') return Z_STREAM_ERROR;
 
     if (s->z_err == Z_DATA_ERROR || s->z_err == Z_ERRNO) return -1;
-    if (s->z_err == Z_STREAM_END || s->z_eof) return 0;  /* EOF */
+    if (s->z_err == Z_STREAM_END) return 0;  /* EOF */
 
     next_out = (Byte*)buf;
     s->stream.next_out = (Bytef*)buf;






More information about the Zlib-devel mailing list