Thank You Sebastian. Regards Kabeer ------- Original Message ------- Sender : Sebastian Dransfeld<s...@tango.flipp.net> Date : Oct 31, 2014 22:41 (GMT+05:30) Title : Re: [E-devel] Issues in Ecore_File_Monitor
It should always use inotify if available, as it is the preferred option. Poll is only a fallback which should never be used as all modern systems have file notification. The code actually predates inotify. The code should both monitor files and directories, so the doc is wrong. Sebastian ---- Kabeer Ahmed Khan skrev ---- > > Hey All > > I was trying to add new test cases for Ecore_File_Monitor. > > For ecore_file_monitor_add function documentation says if path is not file > it returns NULL. But it is actually accepting both file and directory as > path. > > There are other issues also, like it is always calling inotify not poll, > changes in monitored file is not reflected in callback. > > I am curious to know > > 1. Is there any specific reason to restrict monitoring to files only? > > 2. How to enable polling? > > > With Thanks and Regards > > Kabeer > > > [cid:BGFC2LL5XOK0@namo.co.kr] > > [SeenTimeChecker?do=f09bcf7b6790bdd08191b49b99f10a86279e07a5b39f39ba53e47e2f > 243a5ca9ddc79e3cd10304db25139e580ce36374e458eb91567068af8048f33cf1ed6b022630 > 67d8b8f027b11b20909a04efd4d2748cfe1d4e847419cf878f9a26ce15a0] > >------------------------------------------------------------------------------ > >_______________________________________________ >enlightenment-devel mailing list >enlightenment-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel