Hello id like to speak a bit about ecore_file_monitor_inotify
Until SVN rev56210 (http://trac.enlightenment.org/e/changeset?new=56210%40trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c&old=54996%40trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c <http://trac.enlightenment.org/e/changeset?new=56210%40trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c&old=54996%40trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c>) it wasnt able to see file modifications until the file is closed (so everything like logfiles couldnt be watched), it got fixed, but this broke the ability to see when a file is completely written.
So what i have been thinking is to add something like ECORE_FILE_EVENT_CLOSED that would be raised on a IN_CLOSE_WRITE inotify event, while IN_ATTRIB and IN_MODIFY would still raise ECORE_FILE_EVENT_MODIFY.
So there will be both features from before and after rev56210, and i hope this would get everyone happy.
Modifications that i propose is simple, as posted on IRC : http://pastebin.com/tYsdRnCi
<<attachment: guillaume_friloux.vcf>>
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
