CVS update: samba/source/lib

Luke Kenneth Casson Leighton lkcl at
Fri Jul 21 15:37:15 GMT 2000

> Yup.  Just realloc() more than one entry when you have to and keep
> track of how may you have used.

that's the basis of trealloc.  it doesn't reuse old realloc'd blocks, it
just keeps tallocing more, doing a memmove of the old onto the new,
finding the old by searching for its pointer in the list of previously
talloced or trealloc'd blocks.

simple.  ... too simple: i think... i think i forgot to track talloced

More information about the samba-technical mailing list