Re: [PHP-DEV] Re: Bug #323 Updated: Warning 'palloc' redefined From: Zeev Suraski (bourbon <email protected>)
Date: 04/29/98

At 16:18 29/04/98 +0200, Yann Doussot wrote:
>On 29 Apr 1998, Bug Database wrote:
>
>> ID: 323
>> Updated by: zeev
>> Reported By: doussot <email protected>
>> Status: Closed
>> Bug Type: PostgreSQL related
>> Assigned To:
>> Comments:
>>
>> This is *probably* safe, but if it isn't, there's
>> nothing much we can do about it. It's a clash between
>> a PostgresSQL function and an Apache function.
>>
>
> Wasn't the symbols renaming in apache 1.3 suposed to fix such
>issues ? As far as I understand, apache code never uses "palloc" but
>ap_palloc. "palloc" is only defined in apache-1.3/src/include/compat.h .Is
>it really necessary to include this file with apache 1.3 ?

Yes, but PHP will not take advantage of that in the near future. Right
now, and probably at least till the end of 98, the API will maintain
compatability with Apache 1.2. Apache 1.3 provides a compatability header
file with the necessary definitions (compat.h), which Apache 1.2 modules
can use to be compatible with both Apache 1.2 and 1.3.

Zeev

--
Zeev Suraski   <zeev <email protected>>
For a PGP public key, finger bourbon <email protected>