forked from enlightenment/terminology
Fixing Bug T758
Summary: This is fixing the Bug which is happening if a symbolic link in a directory is pointing to its root directory. Reviewers: billiob Differential Revision: https://phab.enlightenment.org/D463
This commit is contained in:
parent
4202010724
commit
fef6fac9ae
|
@ -325,7 +325,12 @@ _rec_read_directorys(Eina_List *list, char *root_path, Evas_Object *term)
|
|||
}
|
||||
else
|
||||
{
|
||||
list = _rec_read_directorys(list, path, term);
|
||||
char *link = ecore_file_readlink(path);
|
||||
if (!link)
|
||||
{
|
||||
list = _rec_read_directorys(list, path, term);
|
||||
}
|
||||
free(link);
|
||||
}
|
||||
free(file_name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue