eio_monitor could miss what it is tracking on
in case of calling ecore_file_mv on the tracked file.
so that this patch replace move with copy.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7352
eet_close(ef);
if (ret)
{
- ecore_file_mv(buf, buf2);
+ ecore_file_cp(buf, buf2);
+ ecore_file_unlink(buf);
}
else
{
goto err;
}
- ret = ecore_file_mv(buf2, buf);
+ ret = ecore_file_cp(buf2, buf);
if (!ret)
{
ERR("Error saving Elementary's configuration profile file");
goto err;
}
- ret = ecore_file_mv(buf2, buf);
+ ret = ecore_file_cp(buf2, buf);
if (!ret)
{
ERR("Error saving Elementary's configuration file");