[Box Backup] ./runtest.pl common debug fails

Martin Ebourne boxbackup at fluffy.co.uk
Wed Nov 16 16:12:17 GMT 2005


Jamie Webb <j at jmawebb.cjb.net> wrote:
> Linux realloc expands blocks in-place if it can. It's easy to pretty
> much guarantee that it can't:

That's a technique which may well work consistently on that platform. 
But fundamentally you can never be certain of preventing realloc from 
reusing the same address on all possible platforms and given that the 
standard explicitly allows it to, the only correct action is to remove 
the incorrect test.

Cheers,

Martin.



More information about the Boxbackup mailing list