forked from enlightenment/efl
parent
82fee3d58c
commit
0cdcab6a5c
|
@ -602,7 +602,6 @@ data_write(void)
|
||||||
tmpdir = "/tmp";
|
tmpdir = "/tmp";
|
||||||
#endif
|
#endif
|
||||||
snprintf(tmpn, PATH_MAX, "%s/edje_cc.sma-tmp-XXXXXX", tmpdir);
|
snprintf(tmpn, PATH_MAX, "%s/edje_cc.sma-tmp-XXXXXX", tmpdir);
|
||||||
strcpy(tmpn, "/tmp/edje_cc.sma-tmp-XXXXXX");
|
|
||||||
fd = mkstemp(tmpn);
|
fd = mkstemp(tmpn);
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
|
@ -685,7 +684,6 @@ data_write(void)
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
snprintf(tmpo, PATH_MAX, "%s/edje_cc.amx-tmp-XXXXXX", tmpdir);
|
snprintf(tmpo, PATH_MAX, "%s/edje_cc.amx-tmp-XXXXXX", tmpdir);
|
||||||
strcpy(tmpo, "/tmp/edje_cc.amx-tmp-XXXXXX");
|
|
||||||
fd = mkstemp(tmpo);
|
fd = mkstemp(tmpo);
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue