diff options
author | Guido van Rossum <guido@python.org> | 1998-04-23 20:22:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-23 20:22:11 (GMT) |
commit | 115f517f77b06e0cc6ff1bfced6d3749530b008f (patch) | |
tree | 1361baf21c81e2604da39e936a4381d7ed7a46d9 /Modules | |
parent | e26132cf5e40352f81027f8ab717a45a66cd6367 (diff) | |
download | cpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.zip cpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.tar.gz cpython-115f517f77b06e0cc6ff1bfced6d3749530b008f.tar.bz2 |
Tiny patch for zlib 1.1.2
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/zlibmodule.c | 1 |
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) |