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;
Thanks Frank, I thought it was just me!
-----Original Message-----
From: Frank M. Kromann [mailto:frank@kromann.info]
Sent: 16 March 2004 17:39
To: internals@lists.php.net
Subject: [PHP-DEV] [PATCH} ZTS fix for zend_execute_API.cHello,
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;