cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Sat, 09 Feb 2008 21:22:22 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6376@lists.php.net to get a copy of this message | ||
helly Sat Feb 9 21:22:22 2008 UTC
Modified files:
/ZendEngine2 zend_API.c
Log:
- Windows build fix
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.c?r1=1.462&r2=1.463&diff_format=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.462 ZendEngine2/zend_API.c:1.463
--- ZendEngine2/zend_API.c:1.462 Thu Feb 7 18:40:44 2008
+++ ZendEngine2/zend_API.c Sat Feb 9 21:22:22 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.462 2008/02/07 18:40:44 helly Exp $ */
+/* $Id: zend_API.c,v 1.463 2008/02/09 21:22:22 helly Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -2650,6 +2650,7 @@
zstr lmname, mname, colon = NULL_ZSTR;
unsigned int clen = 0, mlen;
zend_function *fptr;
+ zend_class_entry *last_scope;
HashTable *ftable;
if (error) {
@@ -2721,7 +2722,7 @@
if (colon.v != NULL) {
/* This is a compound name.
* Try to fetch class and then find static method. */
- zend_class_entry *last_scope = EG(scope);
+ last_scope = EG(scope);
if (ce_org) {
EG(scope) = ce_org;
}