]> git.pld-linux.org Git - packages/cvs.git/blame - cvs-debian-zlib-read-compressed.patch
rel 20; rediff patches
[packages/cvs.git] / cvs-debian-zlib-read-compressed.patch
CommitLineData
3a862a5e
AM
1--- cvs-1.12.13/src/zlib.c~ 3 Jun 2005 18:26:09 -0000 1.31
2+++ cvs-1.12.13/src/zlib.c 27 Oct 2005 17:59:49 -0000
3@@ -229,7 +229,7 @@ compress_buffer_input (void *closure, ch
4 would fetch all the available bytes, and at least one byte. */
5
6 status = (*cb->buf->input) (cb->buf->closure, bd->text,
7- need, BUFFER_DATA_SIZE, &nread);
8+ need ? 1 : 0, BUFFER_DATA_SIZE, &nread);
9
10 if (status == -2)
11 /* Don't try to recover from memory allcoation errors. */
This page took 0.095793 seconds and 4 git commands to generate.