cvs: ZendEngine2 / zend_alloc.c
| From: | Dmitry Stogov | Date: | Thu, 31 Aug 2006 13:00:12 +0000 |
| Subject: | cvs: ZendEngine2 / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5220@lists.php.net to get a copy of this message | ||
dmitry Thu Aug 31 13:00:12 2006 UTC
Modified files:
/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.159&r2=1.160&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.159 ZendEngine2/zend_alloc.c:1.160
--- ZendEngine2/zend_alloc.c:1.159 Wed Aug 30 22:29:17 2006
+++ ZendEngine2/zend_alloc.c Thu Aug 31 13:00:12 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.159 2006/08/30 22:29:17 tony2001 Exp $ */
+/* $Id: zend_alloc.c,v 1.160 2006/08/31 13:00:12 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;