Enlightenment CVS committal Author : ravenlock Project : e17 Module : libs/efreet
Dir : e17/libs/efreet/src/lib Modified Files: efreet_utils.c Log Message: Fix efreet cache_fill issue by guaranteeing we attempt to obtain at least one file in the dir. This allows the idler to run again at a later time. =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_utils.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- efreet_utils.c 15 Apr 2007 10:53:54 -0000 1.36 +++ efreet_utils.c 18 Apr 2007 14:18:28 -0000 1.37 @@ -503,7 +503,7 @@ } else { - while ((ecore_time_get() - start) < 0.01) + do { char file_id[PATH_MAX]; @@ -529,7 +529,8 @@ } else efreet_util_cache_add(buf, file_id, fill->current->priority, 0); - } + } while ((ecore_time_get() - start) < 0.01); + if (!file) { /* This dir has been search through */ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs