cvs: ZendEngine2(PHP_5_0) / zend_alloc.c
| From: | Andi Gutmans | Date: | Fri, 27 Aug 2004 16:49:54 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2913@lists.php.net to get a copy of this message | ||
andi Fri Aug 27 12:49:54 2004 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_alloc.c
Log:
- MFH
http://cvs.php.net/diff.php/ZendEngine2/zend_alloc.c?r1=1.137&r2=1.137.2.1&ty=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.137 ZendEngine2/zend_alloc.c:1.137.2.1
--- ZendEngine2/zend_alloc.c:1.137 Sat Jul 10 03:45:49 2004
+++ ZendEngine2/zend_alloc.c Fri Aug 27 12:49:54 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.137 2004/07/10 07:45:49 andi Exp $ */
+/* $Id: zend_alloc.c,v 1.137.2.1 2004/08/27 16:49:54 andi Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -481,7 +481,7 @@
unsigned int i, j;
zend_mem_header *ptr;
- for (i=1; i<MAX_CACHED_MEMORY; i++) {
+ for (i=0; i<MAX_CACHED_MEMORY; i++) {
for (j=0; j<AG(cache_count)[i]; j++) {
ptr = (zend_mem_header *) AG(cache)[i][j];
# if MEMORY_LIMIT