cvs: ZendEngine2 / zend_object_handlers.c

"Antony Dovgal" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvstony20011231439879@cvsserver>
tony2001		Thu Jan  8 18:37:59 2009 UTC

  Modified files:              
    /ZendEngine2	zend_object_handlers.c 
  Log:
  fix ZTS build
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_object_handlers.c?r1=1.210&r2=1.211&diff_format=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.210 ZendEngine2/zend_object_handlers.c:1.211
--- ZendEngine2/zend_object_handlers.c:1.210	Wed Jan  7 22:13:07 2009
+++ ZendEngine2/zend_object_handlers.c	Thu Jan  8 18:37:59 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_object_handlers.c,v 1.210 2009/01/07 22:13:07 andrei Exp $ */
+/* $Id: zend_object_handlers.c,v 1.211 2009/01/08 18:37:59 tony2001 Exp $ */
 
 #include "zend.h"
 #include "zend_globals.h"
@@ -792,6 +792,8 @@
 static inline union _zend_function *zend_get_user_call_function(zend_object *zobj, zstr method_name, int method_len) /* {{{ */
 {
 	zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function));
+	TSRMLS_FETCH();
+
 	call_user_call->type = ZEND_INTERNAL_FUNCTION;
 	call_user_call->module = zobj->ce->module;
 	call_user_call->handler = zend_std_call_user_call;



-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.