Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_file


Modified Files:
        ecore_file_monitor_inotify.c 


Log Message:
- the event name is only valid if the event length is greater then 0

===================================================================
RCS file: 
/cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ecore_file_monitor_inotify.c        4 Apr 2007 11:10:44 -0000       1.19
+++ ecore_file_monitor_inotify.c        3 Jul 2007 18:18:12 -0000       1.20
@@ -168,7 +168,7 @@
        em = _ecore_file_monitor_inotify_monitor_find(event->wd);
        if (!em) continue;
 
-       _ecore_file_monitor_inotify_events(em, event->name, event->mask);
+       _ecore_file_monitor_inotify_events(em, (event->len ? event->name : 
NULL), event->mask);
      }
 
    return 1;



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to