forked from enlightenment/efl
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.
SVN revision: 29587
This commit is contained in:
parent
2d2ad07524
commit
64f4fbc453
|
@ -503,7 +503,7 @@ efreet_util_cache_fill(void *data __UNUSED__)
|
|||
}
|
||||
else
|
||||
{
|
||||
while ((ecore_time_get() - start) < 0.01)
|
||||
do
|
||||
{
|
||||
char file_id[PATH_MAX];
|
||||
|
||||
|
@ -529,7 +529,8 @@ efreet_util_cache_fill(void *data __UNUSED__)
|
|||
}
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue