cvs: ZendEngine2 / zend_API.c
[email protected] ("Marcus Boerger")
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvshelly1202592142@cvsserver> |
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;
}