Just had a closer look at mem_realloc() and my immediate thought is WTF!
Why on earth are we attempting to realloc starting NOT the pointer to the memory we are reallocating?
And seriously, why do we have z-virt.c - I saw something in trac about nuking them. Seriously, custom wrappers around standard C functions are evil as.
Why on earth are we attempting to realloc starting NOT the pointer to the memory we are reallocating?
And seriously, why do we have z-virt.c - I saw something in trac about nuking them. Seriously, custom wrappers around standard C functions are evil as.
Comment