raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=311ecceeb75a671cea051686a5c04c9633666a66
commit 311ecceeb75a671cea051686a5c04c9633666a66 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Feb 9 10:23:20 2017 +0900 evas cserve - remove unused if 0'd out code that is misleading my greps looking for XDG_RUNTIME_DIR usage to lock down for setuid apps... this msled me... remove it as it's unused. --- src/bin/evas/evas_cserve2_main_loop_linux.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/bin/evas/evas_cserve2_main_loop_linux.c b/src/bin/evas/evas_cserve2_main_loop_linux.c index 33a9955..abbee95 100644 --- a/src/bin/evas/evas_cserve2_main_loop_linux.c +++ b/src/bin/evas/evas_cserve2_main_loop_linux.c @@ -238,23 +238,6 @@ _socket_path_set(char *path) /* FIXME: check we can actually create this socket */ strcpy(path, buf); return; -#if 0 - env = getenv("XDG_RUNTIME_DIR"); - if (!env || !env[0]) - { - env = getenv("HOME"); - if (!env || !env[0]) - { - env = getenv("TMPDIR"); - if (!env || !env[0]) - env = "/tmp"; - } - } - - snprintf(buf, sizeof(buf), "%s/evas-cserve2-%x.socket", env, getuid()); - /* FIXME: check we can actually create this socket */ - strcpy(path, buf); -#endif } static int --
