cvs: TSRM / tsrm_config_common.h ZendEngine2 zend.h
| From: | Dmitry Stogov | Date: | Fri, 23 Nov 2007 13:38:44 +0000 |
| Subject: | cvs: TSRM / tsrm_config_common.h ZendEngine2 zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6213@lists.php.net to get a copy of this message | ||
dmitry Fri Nov 23 13:38:44 2007 UTC
Modified files:
/ZendEngine2 zend.h
/TSRM tsrm_config_common.h
Log:
Fixed definitions
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.345&r2=1.346&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.345 ZendEngine2/zend.h:1.346
--- ZendEngine2/zend.h:1.345 Thu Nov 22 13:33:53 2007
+++ ZendEngine2/zend.h Fri Nov 23 13:38:44 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.345 2007/11/22 13:33:53 dmitry Exp $ */
+/* $Id: zend.h,v 1.346 2007/11/23 13:38:44 dmitry Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -189,8 +189,8 @@
do { if (UNEXPECTED(use_heap)) efree(p); } while (0)
#else
# define ALLOCA_FLAG(name)
-# define do_alloca(p) emalloc(p)
-# define free_alloca(p) efree(p)
+# define do_alloca(p, use_heap) emalloc(p)
+# define free_alloca(p, use_heap) efree(p)
#endif
#if ZEND_DEBUG
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_config_common.h?r1=1.20&r2=1.21&diff_format=u
Index: TSRM/tsrm_config_common.h
diff -u TSRM/tsrm_config_common.h:1.20 TSRM/tsrm_config_common.h:1.21
--- TSRM/tsrm_config_common.h:1.20 Thu Nov 22 13:33:53 2007
+++ TSRM/tsrm_config_common.h Fri Nov 23 13:38:44 2007
@@ -63,8 +63,8 @@
do { if (use_heap) free(p); } while (0)
#else
# define TSRM_ALLOCA_FLAG(name)
-# define tsrm_do_alloca(p) malloc(p)
-# define tsrm_free_alloca(p) free(p)
+# define tsrm_do_alloca(p, use_heap) malloc(p)
+# define tsrm_free_alloca(p, use_heap) free(p)
#endif
#endif /* TSRM_CONFIG_COMMON_H */