do not flush underlying stream on sync() as these causes issues with Zip files

This commit is contained in:
Guenter Obiltschnig 2015-03-28 11:44:39 +01:00
parent 829d497de0
commit 2d4dd2dc7d

View File

@ -189,8 +189,6 @@ int DeflatingStreamBuf::sync()
_zstr.next_out = (unsigned char*) _buffer;
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
}
_pOstr->flush();
return 0;
}