e config - use new eet_sync_sync to ensure data is synced to disk

sync data before the rename - ensure it is on disk first with new eet
func.

@feat
This commit is contained in:
Carsten Haitzler 2022-05-16 14:00:22 +01:00
parent 027a810e84
commit 51e09f2a77
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,7 @@ _e_config_pending_file_del(const char *path)
eina_hash_del(_e_config_pending_files, path, ef);
eina_lock_release(&_e_config_pending_files_lock);
eet_close(ef);
err = eet_sync_sync(ef);
switch (err)
{
case EET_ERROR_NONE:
@ -255,6 +255,7 @@ _e_config_pending_file_del(const char *path)
erstr = _("The error is unknown to Enlightenment.");
break;
}
eet_close(ef);
if (!ok) printf("CF: Write Error: %s\n", erstr);
}
else