raster pushed a commit to branch master.


commit bd7ccd45b60998b61e9cd392c058006f800fc326
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Nov 2 10:11:53 2015 +0900

    efreet - fix efreetd to not exit on $home being in extra app dirs
    if a client added $home in the efreet extra desktops dirs, then
    efreetd would detect and nuke cache, exit, causing a restart cycle
    forever. this makes efreet simply ignore the errant dir so it can keep
 src/bin/efreet/efreetd_cache.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index e3aeb13..e1896e7 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -521,12 +521,8 @@ _check_recurse_monitor_sanity(Eina_Inarray *stack, const 
char *path, unsigned in
    // detect if we start recursing at $HOME - a sign of something wrong
    if ((home) && (!strcmp(home, path)))
-        char buf[PATH_MAX];
-        ERR("Recursively monitor homedir! Remove cache and exit.");
-        snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
-        if (!ecore_file_recursive_rm(buf)) ERR("Can't delete efreet cache 
-        exit(-1);
+        ERR("Recursively monitor homedir! Ignore.");
+        return EINA_FALSE;
    return EINA_TRUE;


Reply via email to