Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto/entropy

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        filesystem.c 


Log Message:
* EVFS api changes

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -3 -r1.88 -r1.89
--- filesystem.c        19 Aug 2007 01:33:04 -0000      1.88
+++ filesystem.c        20 Aug 2007 12:03:32 -0000      1.89
@@ -195,13 +195,13 @@
       file_stat = entropy_malloc (sizeof (entropy_file_stat));
       file_stat->stat_obj = entropy_malloc (sizeof (struct stat));
 
-      file_stat->stat_obj->st_mode = EVFS_EVENT_STAT(data)->st_mode;
-      file_stat->stat_obj->st_uid = EVFS_EVENT_STAT(data)->st_uid;
-      file_stat->stat_obj->st_gid = EVFS_EVENT_STAT(data)->st_gid;
-      file_stat->stat_obj->st_size = EVFS_EVENT_STAT(data)->st_size;
-      file_stat->stat_obj->st_atime = EVFS_EVENT_STAT(data)->ist_atime;
-      file_stat->stat_obj->st_mtime = EVFS_EVENT_STAT(data)->ist_mtime;
-      file_stat->stat_obj->st_ctime = EVFS_EVENT_STAT(data)->ist_ctime;
+      file_stat->stat_obj->st_mode = EVFS_EVENT_STAT(data)->stat->st_mode;
+      file_stat->stat_obj->st_uid = EVFS_EVENT_STAT(data)->stat->st_uid;
+      file_stat->stat_obj->st_gid = EVFS_EVENT_STAT(data)->stat->st_gid;
+      file_stat->stat_obj->st_size = EVFS_EVENT_STAT(data)->stat->st_size;
+      file_stat->stat_obj->st_atime = EVFS_EVENT_STAT(data)->stat->ist_atime;
+      file_stat->stat_obj->st_mtime = EVFS_EVENT_STAT(data)->stat->ist_mtime;
+      file_stat->stat_obj->st_ctime = EVFS_EVENT_STAT(data)->stat->ist_ctime;
 
       /*Retrieve the file. This is bad - the file might not exist anymore! */
       listener = entropy_core_file_cache_retrieve (md5);
@@ -209,13 +209,13 @@
              file_stat->file = listener->file;
 
              /*Pop stats*/
-             listener->file->properties.st_mode = 
EVFS_EVENT_STAT(data)->st_mode;
-             listener->file->properties.st_uid = EVFS_EVENT_STAT(data)->st_uid;
-             listener->file->properties.st_gid = EVFS_EVENT_STAT(data)->st_gid;
-             listener->file->properties.st_size = 
EVFS_EVENT_STAT(data)->st_size;
-             listener->file->properties.st_atime = 
EVFS_EVENT_STAT(data)->ist_atime;
-             listener->file->properties.st_mtime = 
EVFS_EVENT_STAT(data)->ist_mtime;
-             listener->file->properties.st_ctime = 
EVFS_EVENT_STAT(data)->ist_ctime;
+             listener->file->properties.st_mode = 
EVFS_EVENT_STAT(data)->stat->st_mode;
+             listener->file->properties.st_uid = 
EVFS_EVENT_STAT(data)->stat->st_uid;
+             listener->file->properties.st_gid = 
EVFS_EVENT_STAT(data)->stat->st_gid;
+             listener->file->properties.st_size = 
EVFS_EVENT_STAT(data)->stat->st_size;
+             listener->file->properties.st_atime = 
EVFS_EVENT_STAT(data)->stat->ist_atime;
+             listener->file->properties.st_mtime = 
EVFS_EVENT_STAT(data)->stat->ist_mtime;
+             listener->file->properties.st_ctime = 
EVFS_EVENT_STAT(data)->stat->ist_ctime;
              listener->file->retrieved_stat = 1;
 
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to