Patch by Guillaume Friloux <uillaume.friloux@asp64.com>.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@57450
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2011-03-01 Raoul Hecky
* Add ecore_con_url_ssl_verify_peer_set API.
+
+2011-03-01 Guillaume Friloux
+
+ * Fix detection of complete file write in ecore_file inotify.
+
ECORE_FILE_EVENT_DELETED_FILE, /**< Deleted file event. */
ECORE_FILE_EVENT_DELETED_DIRECTORY, /**< Deleted directory event. */
ECORE_FILE_EVENT_DELETED_SELF, /**< Deleted monitored directory event. */
- ECORE_FILE_EVENT_MODIFIED /**< Modified file or directory event. */
+ ECORE_FILE_EVENT_MODIFIED, /**< Modified file or directory event. */
+ ECORE_FILE_EVENT_CLOSED /**< Closed file event */
} Ecore_File_Event;
/**
if (mask & IN_CLOSE_WRITE)
{
if (!isdir)
- em->func(em->data, em, ECORE_FILE_EVENT_MODIFIED, buf);
+ em->func(em->data, em, ECORE_FILE_EVENT_CLOSED, buf);
}
if (mask & IN_MODIFY)
{