summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-23 20:22:11 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-23 20:22:11 (GMT)
commit115f517f77b06e0cc6ff1bfced6d3749530b008f (patch)
tree1361baf21c81e2604da39e936a4381d7ed7a46d9
parente26132cf5e40352f81027f8ab717a45a66cd6367 (diff)
downloadcpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.zip
cpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.tar.gz
cpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.tar.bz2
Tiny patch for zlib 1.1.2
-rw-r--r--Modules/zlibmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 1f99646..93bb99f 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -217,6 +217,7 @@ PyZlib_decompress(self, args)
{
case(Z_STREAM_END):
break;
+ case(Z_BUF_ERROR):
case(Z_OK):
/* need more memory */
if (_PyString_Resize(&result_str, r_strlen << 1) == -1)