Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7322 invoked by uid 1010); 16 Mar 2004 17:42:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7298 invoked from network); 16 Mar 2004 17:42:24 -0000 Received: from unknown (HELO mail.kromann.info) (64.186.239.125) by pb1.pair.com with SMTP; 16 Mar 2004 17:42:24 -0000 Received: from Swwwing2000 (unknown [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 4C3C22AE70 for ; Tue, 16 Mar 2004 09:42:25 -0800 (PST) To: X-Mailer: Swwwing 2000 Message-ID: <10794587691040000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Tue, 16 Mar 2004 09:39:29 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [PATCH} ZTS fix for zend_execute_API.c From: frank@kromann.info ("Frank M. Kromann") 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;