Michael Jennings wrote: > > On Tuesday, 13 March 2007, at 10:59:21 (+0100), > Sebastian Dransfeld wrote: > >> Wrong fix! The user must free ret[0] && ret. No other >> possibility. The question is whether this function should do a >> destructive split or not. > > I take it you missed the "s = strdup(str)" at the beginning.... > > Did ANYBODY actually bother to see how the code works besides Peter?
Of course I read it. My point is that you could drop the strdup and do a destructive split. Sebastian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel