cvs: Zend(PHP_4_3) / zend_alloc.c
| From: | Ilia Alshanetsky | Date: | Fri, 17 Oct 2003 02:29:10 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1911@lists.php.net to get a copy of this message | ||
iliaa Thu Oct 16 22:29:10 2003 EDT
Modified files: (Branch: PHP_4_3)
/Zend zend_alloc.c
Log:
MFH: Fixed if() condition.
Index: Zend/zend_alloc.c
diff -u Zend/zend_alloc.c:1.105.4.3 Zend/zend_alloc.c:1.105.4.4
--- Zend/zend_alloc.c:1.105.4.3 Mon Apr 14 21:30:46 2003
+++ Zend/zend_alloc.c Thu Oct 16 22:29:09 2003
@@ -70,9 +70,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) { \