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
pull/7/head
Carsten Haitzler 4 months ago
parent 027a810e84
commit 51e09f2a77
  1. 3
      src/bin/e_config.c

@ -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

Loading…
Cancel
Save