mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-29 15:34:07 +02:00
do not flush underlying stream on sync() as these causes issues with Zip files
This commit is contained in:
parent
829d497de0
commit
2d4dd2dc7d
@ -189,8 +189,6 @@ int DeflatingStreamBuf::sync()
|
|||||||
_zstr.next_out = (unsigned char*) _buffer;
|
_zstr.next_out = (unsigned char*) _buffer;
|
||||||
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
||||||
}
|
}
|
||||||
_pOstr->flush();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user