Module Name: src Committed By: dsl Date: Fri Nov 27 18:38:29 UTC 2009
Modified Files: src/external/gpl2/xcvs/dist/src: zlib.c Log Message: Fix compressed server accesses. According to http://cvs.savannah.gnu.org/viewvc/ccvs/src/?root=cvs this was broken between revs 1.29 and 1.32 for a perion of 4 months about 4 years ago. Not sure at all why/how we have the broken version. Our old code, the latest gnu code and this fix all differ slightly, but have the same effect. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/xcvs/dist/src/zlib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/xcvs/dist/src/zlib.c diff -u src/external/gpl2/xcvs/dist/src/zlib.c:1.1.1.1 src/external/gpl2/xcvs/dist/src/zlib.c:1.2 --- src/external/gpl2/xcvs/dist/src/zlib.c:1.1.1.1 Tue Apr 7 22:10:29 2009 +++ src/external/gpl2/xcvs/dist/src/zlib.c Fri Nov 27 18:38:29 2009 @@ -229,7 +229,7 @@ would fetch all the available bytes, and at least one byte. */ status = (*cb->buf->input) (cb->buf->closure, bd->text, - need, BUFFER_DATA_SIZE, &nread); + need > 0, BUFFER_DATA_SIZE, &nread); if (status == -2) /* Don't try to recover from memory allcoation errors. */