From 1cf5e749d3d52eae6050abdedd8ed15cef7405b6 Mon Sep 17 00:00:00 2001 From: Mindaugas Kavaliauskas Date: Sat, 15 Mar 2008 13:15:27 +0000 Subject: [PATCH] 2008-03-15 15:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzlib/zip.c ! fixed compression bug --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbzlib/zip.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 63b1fdbdfc..9136d0542e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +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 diff --git a/harbour/contrib/hbzlib/zip.c b/harbour/contrib/hbzlib/zip.c index 8f670164fd..587eaf5089 100644 --- a/harbour/contrib/hbzlib/zip.c +++ b/harbour/contrib/hbzlib/zip.c @@ -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;