On Sat, 31 Jul 2010 08:56:43 -0300 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote:
> Test it 2 (you must compare pointers before or out-of-bounds access > will happen) > > Test case: NULL, 0 > test case2: {'a'}, 1 > > And really, add the test case to our suite. I was actually going to do so. In my defense, the whole file is essentially untested, so it's not a 5 minute job to do in the middle of a weekend with other concerns (I can't just drop in a single test for it). I need to work out how to add a new set of tests eina, and essentially write tests for all the functions. Expect something monday afternoon. And the first test fails on quite a few strnlen implementations (although it probably shouldn't ;-) Regards, nash ------------------------------------------------------------------------------ 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel