RE: [PHP-DEV] [PATCH} ZTS fix for zend_execute_API.c
| From: | Steph | Date: | Tue, 16 Mar 2004 19:07:25 +0000 |
| Subject: | RE: [PHP-DEV] [PATCH} ZTS fix for zend_execute_API.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8541@lists.php.net to get a copy of this message | ||
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.c
>
>
> 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;
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php