billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=fef6fac9ae361423a6218878794e09f1242af5b7
commit fef6fac9ae361423a6218878794e09f1242af5b7 Author: Marcel Hollerbach <marcel.hollerb...@stzedn.de> Date: Sat Jan 18 00:18:48 2014 +0100 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 --- src/bin/options_wallpaper.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bin/options_wallpaper.c b/src/bin/options_wallpaper.c index 9d56e94..88643a8 100644 --- a/src/bin/options_wallpaper.c +++ b/src/bin/options_wallpaper.c @@ -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); } --