cvs: ZendEngine2(PHP_5_2) / zend_alloc.c
| From: | Dmitry Stogov | Date: | Thu, 31 Aug 2006 11:53:58 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_2) / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5219@lists.php.net to get a copy of this message | ||
dmitry Thu Aug 31 11:53:58 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_alloc.c
Log:
Show name of storage layer in case of initialization fault.
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.144.2.3.2.8&r2=1.144.2.3.2.9&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.144.2.3.2.8 ZendEngine2/zend_alloc.c:1.144.2.3.2.9
--- ZendEngine2/zend_alloc.c:1.144.2.3.2.8 Wed Aug 30 22:29:24 2006
+++ ZendEngine2/zend_alloc.c Thu Aug 31 11:53:57 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.144.2.3.2.8 2006/08/30 22:29:24 tony2001 Exp $ */
+/* $Id: zend_alloc.c,v 1.144.2.3.2.9 2006/08/31 11:53:57 dmitry Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -586,7 +586,7 @@
storage = handlers->init(params);
if (!storage) {
- fprintf(stderr, "Cannot initialize zend_mm storage\n");
+ fprintf(stderr, "Cannot initialize zend_mm storage [%s]\n", handlers->name);
exit(255);
}
storage->handlers = handlers;