[Zlib-devel] zlib 1.2.3.6 available for testing

Mark Adler madler at alumni.caltech.edu
Mon Jan 18 14:34:09 EST 2010


On Jan 18, 2010, at 11:09 AM, Török Edwin wrote:
> Now that I am looking at the correct files (gzlib.c, gzread/write.c,
> gzclose.c right?)

Right.  Those and gzguts.h.

> - if seeking fails (gzwrite.c:182) in gzclose_w it doesn't close the
> file descriptor, I think it should

If you mean line 512, then it's fixed now.

> - gzclose_w returns Z_ERRNO if close() fails, and gzclose_r doesn't.

Fixed.  I also documented the gzclose() return values in zlib.h.

> - no error checking for this malloc: state->path = malloc(strlen(path) + 1);

Yep, I had already noticed that one before fixed it.

Mark





More information about the Zlib-devel mailing list