On Fri, 20 Feb 2004, Ard Biesheuvel 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.
Exactly. (notice what was changed to what :)
--Jani
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php