xdg runtime dir is NOT a tmp dir in the normal sense. it's not world
writable nor world readable. only for the user. using
eina_environment_tmp_get() would imply that it is a regular tmp dir,
not a per-user private only runtime dir. that is something else
entirely.
@fix
Change-Id: I4fa9e50f9d731c8297f5b0f16314f5193b17e2af
# endif
{
tmp = getenv("TMPDIR");
- if (!tmp) tmp = getenv("XDG_RUNTIME_DIR");
+ if (!tmp) tmp = getenv("TMP");
+ if (!tmp) tmp = getenv("TEMPDIR");
+ if (!tmp) tmp = getenv("TEMP");
}
if (!tmp) tmp = "/tmp";