Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/common


Modified Files:
        evfs_misc.c 


Log Message:
* File monitor system rationalisation

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_misc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evfs_misc.c 3 Feb 2006 23:12:13 -0000       1.2
+++ evfs_misc.c 5 Mar 2006 05:41:53 -0000       1.3
@@ -38,3 +38,23 @@
 
    return file_list;
 }
+
+
+int evfs_filereference_equal_is(evfs_filereference* file1, evfs_filereference* 
file2)
+{
+       int equal = 1;
+       evfs_filereference* p1 = file1;
+       evfs_filereference* p2 = file2;
+       
+       if (strcmp(file1->path, file2->path) || strcmp(file1->plugin_uri, 
file2->plugin_uri))
+               equal = 0;
+
+       if (equal) {
+               if ( (file1->parent && !file2->parent)  || (file2->parent && 
!file1->parent))
+                       equal = 0;
+               else if (file1 ->parent && file2->parent)
+                       equal = evfs_filereference_equal_is(file1->parent, 
file2->parent);
+       }
+
+       return equal;
+}




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to