From 51e09f2a775ab3b4deb4d55c7e8b74e79407bdac Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 16 May 2022 14:00:22 +0100 Subject: [PATCH] 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 --- src/bin/e_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 22c63ef4e..4a76d2335 100644 --- a/src/bin/e_config.c +++ b/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