forked from enlightenment/efl
parent
a08524ea65
commit
46abf6fc81
|
@ -133,9 +133,9 @@ _eio_dir_recursiv_ls(Ecore_Thread *thread, Eio_Dir_Copy *copy, const char *targe
|
||||||
|
|
||||||
EINA_ITERATOR_FOREACH(it, info)
|
EINA_ITERATOR_FOREACH(it, info)
|
||||||
{
|
{
|
||||||
switch (info->dirent->d_type)
|
switch (info->type)
|
||||||
{
|
{
|
||||||
case DT_UNKNOWN:
|
case EINA_FILE_UNKNOWN:
|
||||||
if (stat(info->path, &buffer) != 0)
|
if (stat(info->path, &buffer) != 0)
|
||||||
{
|
{
|
||||||
eio_file_thread_error(©->progress.common, thread);
|
eio_file_thread_error(©->progress.common, thread);
|
||||||
|
@ -147,7 +147,7 @@ _eio_dir_recursiv_ls(Ecore_Thread *thread, Eio_Dir_Copy *copy, const char *targe
|
||||||
else
|
else
|
||||||
copy->files = eina_list_append(copy->files, eina_stringshare_add(info->path));
|
copy->files = eina_list_append(copy->files, eina_stringshare_add(info->path));
|
||||||
break;
|
break;
|
||||||
case DT_DIR:
|
case EINA_FILE_DIR:
|
||||||
dirs = eina_list_append(dirs, eina_stringshare_add(info->path));
|
dirs = eina_list_append(dirs, eina_stringshare_add(info->path));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue