Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: ecore_file_path.c Log Message: check for NULL list =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_file/ecore_file_path.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- ecore_file_path.c 19 Jan 2006 09:32:18 -0000 1.18 +++ ecore_file_path.c 21 Jan 2006 02:12:51 -0000 1.19 @@ -4,7 +4,7 @@ #include "ecore_file_private.h" static int init = 0; -static Ecore_List *__ecore_file_path_bin; +static Ecore_List *__ecore_file_path_bin = NULL; static Ecore_List *_ecore_file_path_from_env(const char *env); @@ -62,7 +62,8 @@ ecore_file_path_dir_exists(const char *in_dir) { char *dir; - + + if (!__ecore_file_path_bin) return 0; ecore_list_goto_first(__ecore_file_path_bin); while ((dir = ecore_list_next(__ecore_file_path_bin)) != NULL) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs