Branch: Tag:

1999-07-15

1999-07-15 16:58:44 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix in Gz.deflate

Rev: src/modules/Gz/testsuite.in:1.9
Rev: src/modules/Gz/zlibmod.c:1.26

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: zlibmod.c,v 1.25 1999/06/10 20:44:12 hubbe Exp $"); + RCSID("$Id: zlibmod.c,v 1.26 1999/07/15 16:58:44 hubbe Exp $");      #include "zlib_machine.h"   
114:    ret=deflate(& this->gz, flush);    THREADS_DISALLOW();    +  /* Absorb any unused space /Hubbe */ +  low_make_buf_space(-this->gz.avail_out,buf); +     /* we don't care about Z_BUF_ERROR here; it won't happen. */    }    while (ret==Z_OK && flush==Z_FINISH);