On Mon, Aug 2, 2010 at 6:21 PM, Gustavo Sverzut Barbieri <[email protected]> wrote: > nooooo... it's wrong, the old string pointer is now lost! You need to > get the return into another tmp variable and swap after you know it > worked. > > Lucas, maybe you can add a script to check for x = realloc(x,...)?
Yes, this is easy, as well as checking if the returned value of realloc is never checked for null. Lucas De Marchi ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
