forked from enlightenment/efl
elm_config: don't prepend /tmp/ to file name
eina_file_mkstemp() already takes care of this. Differential Revision: https://phab.enlightenment.org/D12155
This commit is contained in:
parent
ddd0736264
commit
3aeffe0bec
|
@ -1726,7 +1726,7 @@ _config_system_load(void)
|
|||
{
|
||||
Eina_Tmpstr* tmp;
|
||||
ERR("System loading config failed! Check your setup! Falling back to compile time defaults");
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(eina_file_mkstemp("/tmp/elementary_configXXXXXX", &tmp), NULL);
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(eina_file_mkstemp("elementary_configXXXXXX", &tmp), NULL);
|
||||
ef = eet_open(tmp, EET_FILE_MODE_WRITE);
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(eet_data_undump(ef, "config", embedded_config, strlen(embedded_config)-1, EINA_FALSE), NULL);
|
||||
eet_close(ef);
|
||||
|
|
Loading…
Reference in New Issue