cvs: php-src(PHP_5_2) /ext/standard info.c
| From: | Dmitry Stogov | Date: | Thu, 14 Sep 2006 08:01:49 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40490@lists.php.net to get a copy of this message | ||
dmitry Thu Sep 14 08:01:49 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard info.c
Log:
Write valid run-time value for Zend Memeory Manager
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.5&r2=1.249.2.10.2.6&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.5 php-src/ext/standard/info.c:1.249.2.10.2.6
--- php-src/ext/standard/info.c:1.249.2.10.2.5 Tue Aug 8 13:12:00 2006
+++ php-src/ext/standard/info.c Thu Sep 14 08:01:48 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.249.2.10.2.5 2006/08/08 13:12:00 tony2001 Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.6 2006/09/14 08:01:48 dmitry Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -490,11 +490,7 @@
php_info_print_table_row(2, "Thread Safety", "disabled" );
#endif
-#if USE_ZEND_ALLOC
- php_info_print_table_row(2, "Zend Memory Manager", "enabled" );
-#else
- php_info_print_table_row(2, "Zend Memory Manager", "disabled" );
-#endif
+ php_info_print_table_row(2, "Zend Memory Manager", is_zend_mm(TSRMLS_C) ?
"enabled" : "disabled" );
#if HAVE_IPV6
php_info_print_table_row(2, "IPv6 Support", "enabled" );