parent
1e99acb865
commit
cf746f7d1f
|
@ -38,3 +38,7 @@
|
|||
|
||||
* Return Eina_Bool if the return value of a function is true or false
|
||||
|
||||
2011-01-XX Sebastian Dransfeld
|
||||
|
||||
* Check whether dirs is NULL
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@ cache_directory_find(Eina_Hash *dirs, const char *dir)
|
|||
Efreet_Cache_Directory *dcache;
|
||||
struct stat st;
|
||||
|
||||
if (!dirs) return EINA_TRUE;
|
||||
|
||||
if (stat(dir, &st) < 0) return EINA_FALSE;
|
||||
dcache = eina_hash_find(dirs, dir);
|
||||
if (!dcache)
|
||||
|
|
Loading…
Reference in New Issue