[PATCH} ZTS fix for zend_execute_API.c
| From: | Frank M. Kromann | Date: | Tue, 16 Mar 2004 17:39:29 +0000 |
| Subject: | [PATCH} ZTS fix for zend_execute_API.c | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-8540@lists.php.net to get a copy of this message | ||
Hello,
Here is a diff for zend_execute_API.c, fixing ZTS builds.
- Frank
Index: zend_execute_API.c
===================================================================
RCS file: /repository/ZendEngine2/zend_execute_API.c,v
retrieving revision 1.280
diff -u -r1.280 zend_execute_API.c
--- zend_execute_API.c 16 Mar 2004 14:59:06 -0000 1.280
+++ zend_execute_API.c 16 Mar 2004 17:40:37 -0000
@@ -652,8 +652,8 @@
zend_error(E_ERROR, "Class '%s' not found",
Z_STRVAL_PP(fci->object_pp));
}
if (EG(This) &&
- instanceof_function(Z_OBJCE_P(EG(This)), scope) &&
- instanceof_function(scope, *ce)) {
+ instanceof_function(Z_OBJCE_P(EG(This)), scope TSRMLS_CC) &&
+ instanceof_function(scope, *ce TSRMLS_CC)) {
fci->object_pp = &EG(This);
} else {
fci->object_pp = NULL;