raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=09435e5e81f6a6dcba9378af4bae84114c4fa908

commit 09435e5e81f6a6dcba9378af4bae84114c4fa908
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Apr 8 12:52:36 2016 +0900

    efreet - use eina tmp dir instead of /tmp dir
    
    use eina_environment_tmp_get() for windows
---
 src/bin/efreet/efreetd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index 81d97aa..0f349bf 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -51,8 +51,8 @@ main(int argc, char *argv[])
 
    s = getenv("XDG_RUNTIME_DIR");
    if (s) log_file_dir = s;
-   else log_file_dir = "/tmp";
-    if (gethostname(buf, sizeof(buf)) < 0)
+   else log_file_dir = eina_environment_tmp_get();
+   if (gethostname(buf, sizeof(buf)) < 0)
      hostname_str = "";
    else
      hostname_str = buf;

-- 


Reply via email to