Note: Do never call eet_flush2 if you don't actually fclose the file just after.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@47832
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* Improve eet_eina_file_data_descriptor_class_set by using
eina_hash_direct_add to avoid duplication hash key string.
+
+2010-04-08 Cedric BAIL
+
+ * Fix file corruption reported by Tiago Falcao <tiago@profusion.mobi>
ef = eet_cache_find((char *)file, eet_writers, eet_writers_num);
if (ef)
{
- eet_flush2(ef);
ef->references++;
ef->delete_me_now = 1;
eet_internal_close(ef, EINA_TRUE);