At 05:04 PM 12/12/2001 -0500, [EMAIL PROTECTED] wrote: >At minimum we should be using plain malloc() until a >better solution or the current one is finished, else >right now we have a glaring memory leak for ops that >need to destroy strings. > >Can't the current function be at least tweaked so it >still rounds mem chunks but doesn't modify the starting >address of the chunk. Is anyone actually even using the >feature that this technique allows?
The only thing that needs the allocated alignment is some of the internal pieces--the stack chunks and register frames, really. Everything else can use a plain malloc. Well, mem_allocate, rather, which can be a wrapper around malloc for now. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk