summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.c
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-21 14:46:59 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-21 14:49:08 +0900
commit62b469749a4b79351b9bc52d40b9249ee48086bf (patch)
tree5cabfe20485dadf6a7de2db316e50363b8d4288d /src/lib/eina/eina_file.c
parenteea338764abcf38c8be404be7e3c540cfedc002b (diff)
eina: fix the crash seen by some during rebuild.
Before this patch, we were unconditionnaly destroying the Eina_File if that one did change on disk. We also make sure that we remove the right entry from the cache if the file did change there.
Diffstat (limited to 'src/lib/eina/eina_file.c')
-rw-r--r--src/lib/eina/eina_file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 1ae3681..ca2fe61 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -868,7 +868,6 @@ eina_file_open(const char *path, Eina_Bool shared)
868 { 868 {
869 file->delete_me = EINA_TRUE; 869 file->delete_me = EINA_TRUE;
870 eina_hash_del(_eina_file_cache, file->filename, file); 870 eina_hash_del(_eina_file_cache, file->filename, file);
871 eina_file_clean_close(file);
872 file = NULL; 871 file = NULL;
873 } 872 }
874 873