Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/demo


Modified Files:
        evfs_demo.c 


Log Message:
Change the way we do stats

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/demo/evfs_demo.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evfs_demo.c 5 Oct 2005 03:50:32 -0000       1.8
+++ evfs_demo.c 7 Oct 2005 11:01:27 -0000       1.9
@@ -13,7 +13,12 @@
                                mon_current++;
        } else if (data->type = EVFS_EV_STAT) {
                printf("Received stat event!\n");
-               printf("File size: %ld\n", data->stat.size);
+               printf("File size: %ld\n", data->stat.stat_obj.st_size);
+               printf("File inode: %ld\n", data->stat.stat_obj.st_ino);
+               printf("File uid: %ld\n", data->stat.stat_obj.st_uid);
+               printf("File gid: %ld\n", data->stat.stat_obj.st_gid);
+               printf("Last access: %ld\n", data->stat.stat_obj.st_atime);
+               printf("Last modify : %ld\n", data->stat.stat_obj.st_mtime);
        }
 
        /*if (mon_current == 2) {
@@ -46,7 +51,7 @@
 
        
        //snprintf(pathi,1024,"posix://%s", getenv("HOME"));
-       snprintf(pathi,1024,"posix:///home/chaos/mail-demo.tgz");
+       snprintf(pathi,1024,"posix:///home/chaos/mapviewgps-2.5-uiq.zip");
        
        
        printf ("Monitoring dir: %s\n", pathi);




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to