forked from enlightenment/efl
ecore_file: get stat from correct file
This commit is contained in:
parent
5e25b8037c
commit
dc18e71903
|
@ -331,7 +331,8 @@ ecore_file_recursive_rm(const char *dir)
|
|||
|
||||
if (readlink(dir, buf, sizeof(buf) - 1) > 0)
|
||||
return ecore_file_unlink(dir);
|
||||
if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL))
|
||||
|
||||
if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL))
|
||||
return EINA_FALSE;
|
||||
#else
|
||||
if (lstat(dir, &st) == -1)
|
||||
|
|
Loading…
Reference in New Issue