Re: Re: cvs: php-src /ext/oci8 oci8.c
| From: | Antony Dovgal | Date: | Fri, 20 Feb 2004 09:22:09 +0000 |
| Subject: | Re: Re: cvs: php-src /ext/oci8 oci8.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8014@lists.php.net to get a copy of this message | ||
On Fri, 20 Feb 2004 10:11:25 +0100
Ard Biesheuvel <abies@php.net> wrote:
> Jani Taskinen wrote:
>
> > sniper Thu Feb 19 22:05:43 2004 EDT
> >
> > Modified files:
> > /php-src/ext/oci8 oci8.c
> > Log:
> > Only use Z_TYPE* with zvals..
> >
> > -static oci_descriptor *oci_new_desc(int type,oci_connection *connection)
> > +static oci_descriptor *oci_new_desc(int type, oci_connection *connection)
> > {
> > oci_descriptor *descr;
> > TSRMLS_FETCH();
> >
> > descr = emalloc(sizeof(oci_descriptor));
> >
> > - Z_TYPE_P(descr) = type;
> > + descr->type = type;
>
> None of these look like zvals to me.
Yep, and that was the reason of these changes.
It's ok.
By the way, Jani, thanks =)
I was just too lazy to change it.
---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net