summaryrefslogtreecommitdiff
path: root/src/bin/evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-03-18 12:11:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-03-18 13:49:05 +0900
commit320a9f18c55e3e281b374eb757e22a065d911c09 (patch)
tree15b2d1c215d9fb6e6abe567a70d1e889c564ba1c /src/bin/evas
parentff2d598b029bec988b4c2ac5fbeeee1f80700335 (diff)
Evas cserve2: Fix client crashes when a file changed
Clients must ignore changed file entries as they are not valid anymore. The server will also mark the entry as invalid in case of file update. @fix
Diffstat (limited to 'src/bin/evas')
-rw-r--r--src/bin/evas/evas_cserve2_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/evas/evas_cserve2_cache.c b/src/bin/evas/evas_cserve2_cache.c
index 0c2a5bee73..7acf201d98 100644
--- a/src/bin/evas/evas_cserve2_cache.c
+++ b/src/bin/evas/evas_cserve2_cache.c
@@ -1712,6 +1712,7 @@ _file_changed_cb(const char *path EINA_UNUSED, Eina_Bool deleted EINA_UNUSED, vo
1712 if (fd) 1712 if (fd)
1713 { 1713 {
1714 fd->changed = EINA_TRUE; 1714 fd->changed = EINA_TRUE;
1715 fd->valid = EINA_FALSE;
1715 _file_id_free(fd); 1716 _file_id_free(fd);
1716 eina_hash_set(file_entries, &fd->id, NULL); 1717 eina_hash_set(file_entries, &fd->id, NULL);
1717 } 1718 }