cvs: ZendEngine2 / zend_constants.c
| From: | Sebastian Bergmann | Date: | Sun, 15 Jun 2003 15:34:01 +0000 |
| Subject: | cvs: ZendEngine2 / zend_constants.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1374@lists.php.net to get a copy of this message | ||
sebastian Sun Jun 15 11:34:01 2003 EDT
Modified files:
/ZendEngine2 zend_constants.c
Log:
Fix ZTS build.
Index: ZendEngine2/zend_constants.c
diff -u ZendEngine2/zend_constants.c:1.55 ZendEngine2/zend_constants.c:1.56
--- ZendEngine2/zend_constants.c:1.55 Sun Jun 15 10:40:38 2003
+++ ZendEngine2/zend_constants.c Sun Jun 15 11:34:00 2003
@@ -17,10 +17,11 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_constants.c,v 1.55 2003/06/15 14:40:38 stas Exp $ */
+/* $Id: zend_constants.c,v 1.56 2003/06/15 15:34:00 sebastian Exp $ */
#include "zend.h"
#include "zend_constants.h"
+#include "zend_execute.h"
#include "zend_variables.h"
#include "zend_operators.h"
#include "zend_globals.h"
@@ -225,7 +226,7 @@
lookup_name = do_alloca(class_name_len+1);
zend_str_tolower_copy(lookup_name, name, class_name_len);
lookup_name[class_name_len] = '\0';
- if(zend_lookup_class(lookup_name, class_name_len, &ce) != SUCCESS) {
+ if(zend_lookup_class(lookup_name, class_name_len, &ce TSRMLS_CC) != SUCCESS) {
retval = 0;
} else {
if (zend_hash_find(&((*ce)->constants_table), constant_name, const_name_len+1, (void **)
&ret_constant) != SUCCESS) {