aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-08 12:52:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-08 12:57:30 +0900
commit09435e5e81f6a6dcba9378af4bae84114c4fa908 (patch)
treed499e1cd43899a7b7f5cac63f188cae4f5ff0fb4
parenttheme: add nstate.edc in Makefile.am (diff)
downloadefl-09435e5e81f6a6dcba9378af4bae84114c4fa908.tar.gz
efreet - use eina tmp dir instead of /tmp dir
use eina_environment_tmp_get() for windows
-rw-r--r--src/bin/efreet/efreetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index 81d97aa1e6..0f349bf5a1 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;