This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 5a493a559452d263ff3f41e35c7e03bf7f90fdd0
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Mon Dec 18 15:38:00 2023 +0000

    fix crash on trying to writer to non-writable input method file
---
 src/modules/conf_intl/e_int_config_imc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/conf_intl/e_int_config_imc.c b/src/modules/conf_intl/e_int_config_imc.c
index 77c7f2351..5dc428884 100644
--- a/src/modules/conf_intl/e_int_config_imc.c
+++ b/src/modules/conf_intl/e_int_config_imc.c
@@ -439,7 +439,7 @@ _change_hash_apply_cb(const Eina_Hash *hash EINA_UNUSED, const void *key, void *
 
    imc = data;
 
-   if (ecore_file_exists(key))
+   if (ecore_file_exists(key) && ecore_file_can_write(key))
      {
         ef = eet_open(key, EET_FILE_MODE_WRITE);
         if (ef)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to