Re: Patch for php_sybase_db.c

From: Date: Sat, 11 Aug 2001 12:02:09 +0000
Subject: Re: Patch for php_sybase_db.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62932@lists.php.net to get a copy of this message
On Sat, Aug 11, 2001 at 01:59:39PM +0200, Alexander Wirtz wrote: > Hi, > > after the oci8-Error during the compile, I found another one in > php_sybase_db.c. I made a patch for a version which is up to the > ZendEngine2. applied, thanx tc > > Greetings > Alexander > > -- > | Alexander Wirtz | eMail: wirtz@web-active.com | > | web@ctive GmbH | WWW: http://www.web-active.com > | Content-Description: php_sybase_db.c-patch > --- php_sybase_db.orig.c Sat Aug 11 12:20:21 2001 > +++ php_sybase_db.c Sat Aug 11 12:26:46 2001 > @@ -1009,8 +1009,8 @@ > php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU); > if (return_value->type==IS_ARRAY) { > return_value->type=IS_OBJECT; > - return_value->value.obj.properties = return_value->value.ht; > - return_value->value.obj.ce = &zend_standard_class_def; > + Z_OBJPROP_P(return_value) = return_value->value.ht; > + Z_OBJCE_P(return_value) = &zend_standard_class_def; > } > } > /* }}} */ > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#62932) next »