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.

It was an issue for the prng, too.

--
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Reply via email to