Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/bin


Modified Files:
        evfs_operation.c evfs_operation_tasks.c 


Log Message:
* Last error checking catch before the full error check overhaul

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_operation.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evfs_operation.c    28 Mar 2006 07:42:33 -0000      1.11
+++ evfs_operation.c    9 Apr 2006 09:02:43 -0000       1.12
@@ -277,7 +277,6 @@
 
 void evfs_operation_run_tasks(evfs_operation* op)
 {
-       printf("Running tasks..\n");
        evfs_operation_task* task = NULL;
 
        task = ecore_list_current(op->sub_task);
@@ -300,7 +299,6 @@
                                double calc;
 
 
-                               printf("...Processing file copy task type!\n");
                                prog = evfs_operation_tasks_file_copy_run(op, 
EVFS_OPERATION_TASK_FILE_COPY(task));
                                EVFS_OPERATION_FILES(op)->progress_bytes += 
prog;
 
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_operation_tasks.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evfs_operation_tasks.c      14 Mar 2006 13:06:22 -0000      1.4
+++ evfs_operation_tasks.c      9 Apr 2006 09:02:44 -0000       1.5
@@ -79,6 +79,12 @@
                        /*printf("Counter increment to: %lld\n", 
copy->next_byte);*/
                }
 
+               /*FIXME - do error handling here somehow*/
+               if (b_read == 0) {
+                       printf("File copy error - read 0 bytes\n");
+                       copy->next_byte = copy->source_stat.st_size;
+               }
+
 
                iter++;
        }




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