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:
Eric Schuele 2007-04-18 14:18:28 +00:00
parent 2d2ad07524
commit 64f4fbc453
1 changed files with 3 additions and 2 deletions

View File

@ -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 */