2008-03-15 15:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/contrib/hbzlib/zip.c
    ! fixed compression bug
This commit is contained in:
Mindaugas Kavaliauskas
2008-03-15 13:15:27 +00:00
parent fd15794d10
commit 1cf5e749d3
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-03-15 15:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbzlib/zip.c
! fixed compression bug
2008-03-13 11:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbsql.c
! fixed typo in last commit which causes GPF when FOR condition was used

View File

@@ -1051,7 +1051,7 @@ extern int ZEXPORT zipCloseFileInZipRaw (
uLong uTotalOutBefore;
if (zi->ci.stream.avail_out == 0)
{
if (zipFlushWriteBuffer(zi) == ZIP_ERRNO)
if (zipFlushWriteBuffer(zi) == ZIP_ERRNO) ;
/* err = ZIP_ERRNO; TOFIX: this line is meaningless and
commented to pacify warning but error is possible */
zi->ci.stream.avail_out = (uInt)Z_BUFSIZE;