cvs: ZendEngine2 / zend_alloc.c
| From: | Ilia Alshanetsky | Date: | Fri, 17 Oct 2003 02:29:06 +0000 |
| Subject: | cvs: ZendEngine2 / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1910@lists.php.net to get a copy of this message | ||
iliaa Thu Oct 16 22:29:06 2003 EDT
Modified files:
/ZendEngine2 zend_alloc.c
Log:
Fixed if() condition.
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.128 ZendEngine2/zend_alloc.c:1.129
--- ZendEngine2/zend_alloc.c:1.128 Tue Oct 14 13:26:36 2003
+++ ZendEngine2/zend_alloc.c Thu Oct 16 22:29:06 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.128 2003/10/14 17:26:36 andi Exp $ */
+/* $Id: zend_alloc.c,v 1.129 2003/10/17 02:29:06 iliaa Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -78,9 +78,9 @@
if (AG(memory_limit)+1048576 > AG(allocated_memory) - rs) { \
AG(memory_limit) = AG(allocated_memory) + 1048576; \
if (file) { \
- zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted (tried to allocate %d
bytes)", php_mem_limit, s); \
- } else { \
zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted at %s:%d (tried to
allocate %d bytes)", php_mem_limit, file, lineno, s); \
+ } else { \
+ zend_error(E_ERROR,"Allowed memory size of %d bytes exhausted (tried to allocate %d
bytes)", php_mem_limit, s); \
} \
} else { \
if (file) { \