apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: apr_realloc?
Date Wed, 28 Jan 2004 23:52:08 GMT
Sander Striker wrote:
> On Wed, 2004-01-28 at 22:03, Stas Bekman wrote:
> 
>>I couldn't find apr_realloc() in the apr API. Is that on purpose or just 
>>wasn't needed so far?
>>
>>I suppose realloc is hard in the pool architecture, since if you have 
>>allocated something after the alloc, you have to move the already allocated 
>>memory.
> 
> apr_prealloc aswell as apr_pfree are doable.  I can take a look at
> revisiting my earlier patches if there is enough interest.

I've found a workaround for now. But I may need one in the future, so yes, if 
you can add it that would be great.

Thanks.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message