cvs: php-src(PHP_5_0) /ext/com_dotnet com_handlers.c

From: Date: Sat, 20 Nov 2004 11:41:24 +0000
Subject: cvs: php-src(PHP_5_0) /ext/com_dotnet com_handlers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29268@lists.php.net to get a copy of this message
rrichards Sat Nov 20 06:41:24 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/com_dotnet com_handlers.c Log: MFH: fix crash when calling com methods - due to change in Zend http://cvs.php.net/diff.php/php-src/ext/com_dotnet/com_handlers.c?r1=1.22.2.1&r2=1.22.2.2&ty=u Index: php-src/ext/com_dotnet/com_handlers.c diff -u php-src/ext/com_dotnet/com_handlers.c:1.22.2.1 php-src/ext/com_dotnet/com_handlers.c:1.22.2.2 --- php-src/ext/com_dotnet/com_handlers.c:1.22.2.1 Wed Jul 28 19:48:26 2004 +++ php-src/ext/com_dotnet/com_handlers.c Sat Nov 20 06:41:24 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_handlers.c,v 1.22.2.1 2004/07/28 23:48:26 wez Exp $ */ +/* $Id: com_handlers.c,v 1.22.2.2 2004/11/20 11:41:24 rrichards Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -293,12 +293,13 @@ INTERNAL_FUNCTION_PARAM_PASSTHRU); } -static union _zend_function *com_method_get(zval *object, char *name, int len TSRMLS_DC) +static union _zend_function *com_method_get(zval **object_ptr, char *name, int len TSRMLS_DC) { zend_internal_function f, *fptr = NULL; php_com_dotnet_object *obj; union _zend_function *func; DISPID dummy; + zval *object = *object_ptr; obj = CDNO_FETCH(object);

« previous php.cvs (#29268) next »