cvs: php4(PHP_4_2_0) /ext/zip zip.c
| From: | Derick Rethans | Date: | Sat, 06 Apr 2002 17:29:44 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/zip zip.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10932@lists.php.net to get a copy of this message | ||
derick Sat Apr 6 12:29:44 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/zip zip.c
Log:
- MFH zip_entry_read_bug
Index: php4/ext/zip/zip.c
diff -u php4/ext/zip/zip.c:1.29 php4/ext/zip/zip.c:1.29.2.1
--- php4/ext/zip/zip.c:1.29 Thu Feb 28 03:27:01 2002
+++ php4/ext/zip/zip.c Sat Apr 6 12:29:44 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zip.c,v 1.29 2002/02/28 08:27:01 sebastian Exp $ */
+/* $Id: zip.c,v 1.29.2.1 2002/04/06 17:29:44 derick Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -285,7 +285,7 @@
if (ret == 0) {
RETURN_FALSE;
} else {
- RETURN_STRINGL(buf, len, 0);
+ RETURN_STRINGL(buf, ret, 0);
}
}
/* }}} */