forked from enlightenment/efl
efreet - use eina tmp dir instead of /tmp dir
use eina_environment_tmp_get() for windows
This commit is contained in:
parent
ea6027b3c8
commit
09435e5e81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue