On Tue, 1 Mar 2011, Enlightenment SVN wrote:

> Log:
> ecore: backport [57450].
>
>
> Author:       cedric
> Date:         2011-03-01 02:11:41 -0800 (Tue, 01 Mar 2011)
> New Revision: 57452
> Trac:         http://trac.enlightenment.org/e/changeset/57452
>
> Modified:
>  branches/ecore-1.0/ChangeLog 
> branches/ecore-1.0/src/lib/ecore_file/Ecore_File.h 
> branches/ecore-1.0/src/lib/ecore_file/ecore_file_monitor_inotify.c
>
> Modified: branches/ecore-1.0/ChangeLog
> ===================================================================
> --- branches/ecore-1.0/ChangeLog      2011-03-01 10:04:40 UTC (rev 57451)
> +++ branches/ecore-1.0/ChangeLog      2011-03-01 10:11:41 UTC (rev 57452)
> @@ -17,3 +17,8 @@
>       * Ecore_Win32: improve resize of windows and fix key up event for
>       the 'space' key.
>       * Ecore_WinCE: do not erase a window background
> +
> +2011-03-01 Guillaume Friloux
> +
> +     * Fix detection of complete file write in ecore_file inotify.
> +
>
> Modified: branches/ecore-1.0/src/lib/ecore_file/Ecore_File.h
> ===================================================================
> --- branches/ecore-1.0/src/lib/ecore_file/Ecore_File.h        2011-03-01 
> 10:04:40 UTC (rev 57451)
> +++ branches/ecore-1.0/src/lib/ecore_file/Ecore_File.h        2011-03-01 
> 10:11:41 UTC (rev 57452)
> @@ -73,7 +73,8 @@
>    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 */


no. In 1.0, you should not add API. it's only bug fixes

Vincent

> } Ecore_File_Event;
>
> /**
>
> Modified: branches/ecore-1.0/src/lib/ecore_file/ecore_file_monitor_inotify.c
> ===================================================================
> --- branches/ecore-1.0/src/lib/ecore_file/ecore_file_monitor_inotify.c        
> 2011-03-01 10:04:40 UTC (rev 57451)
> +++ branches/ecore-1.0/src/lib/ecore_file/ecore_file_monitor_inotify.c        
> 2011-03-01 10:11:41 UTC (rev 57452)
> @@ -207,7 +207,7 @@
>    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)
>      {
>
>
> ------------------------------------------------------------------------------
> 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-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
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

Reply via email to