Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore_path.c Log Message: valgrind complaint - valid one. fix. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- ecore_path.c 26 Jan 2008 05:40:52 -0000 1.26 +++ ecore_path.c 2 Mar 2008 02:01:11 -0000 1.27 @@ -240,7 +240,8 @@ struct stat st; struct dirent *d; - stat(path, &st); + if (stat(path, &st) < 0) + continue; if (!S_ISDIR(st.st_mode)) continue; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs