On 2005/06/25, Thomas Frieden wrote:
Hi,
Rene W. Olsen wrote:
But I not really sure this is ok, what happens if reallocvec() need to alloc a new block and move the memory? how do I get the new mem pointer?
Exec's ReallocVec does not move memory, it will resize in place if there is enough room, otherwise it will fail.
Ohh okey, but isent it a really big chance it fails?
if yes, I have to make my own realloc that moves it every time.
Regards