cvs: php4 /ext/zlib zlib.c
| From: | Stefan Roehrich | Date: | Sun, 01 Dec 2002 18:48:51 +0000 |
| Subject: | cvs: php4 /ext/zlib zlib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16806@lists.php.net to get a copy of this message | ||
sr Sun Dec 1 13:48:51 2002 EDT
Modified files:
/php4/ext/zlib zlib.c
Log:
Comment about maximal length now matches code.
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.154 php4/ext/zlib/zlib.c:1.155
--- php4/ext/zlib/zlib.c:1.154 Mon Nov 18 06:39:41 2002
+++ php4/ext/zlib/zlib.c Sun Dec 1 13:48:51 2002
@@ -18,7 +18,7 @@
| Jade Nicoletti <nicoletti@nns.ch> |
+----------------------------------------------------------------------+
*/
-/* $Id: zlib.c,v 1.154 2002/11/18 11:39:41 wez Exp $ */
+/* $Id: zlib.c,v 1.155 2002/12/01 18:48:51 sr Exp $ */
#define IS_EXT_MODULE
#ifdef HAVE_CONFIG_H
@@ -488,7 +488,7 @@
/*
zlib::uncompress() wants to know the output data length
if none was given as a parameter
- we try from input length * 2 up to input length * 2^8
+ we try from input length * 2 up to input length * 2^15
doubling it whenever it wasn't big enough
that should be eneugh for all real life cases
*/
@@ -616,7 +616,7 @@
/*
stream.avail_out wants to know the output data length
if none was given as a parameter
- we try from input length * 2 up to input length * 2^16
+ we try from input length * 2 up to input length * 2^15
doubling it whenever it wasn't big enough
that should be enaugh for all real life cases
*/