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:
* Make copy cancel work properly

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_operation.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- evfs_operation.c    14 Aug 2006 11:33:07 -0000      1.15
+++ evfs_operation.c    15 Aug 2006 09:06:30 -0000      1.16
@@ -393,6 +393,9 @@
                if (task->status ==  EVFS_OPERATION_TASK_STATUS_ERROR) {
                        op->status = EVFS_OPERATION_STATUS_ERROR;
                        return;
+               } else if (task->status == EVFS_OPERATION_TASK_STATUS_CANCEL) {
+                       op->status = EVFS_OPERATION_STATUS_COMPLETED;
+                       return;
                }
 
                OPERATION_TASK_EXIT:
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_operation_tasks.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evfs_operation_tasks.c      15 Aug 2006 08:22:56 -0000      1.12
+++ evfs_operation_tasks.c      15 Aug 2006 09:06:30 -0000      1.13
@@ -47,7 +47,6 @@
        if (EVFS_OPERATION_TASK(copy)->status == 
EVFS_OPERATION_TASK_STATUS_CANCEL) {
                printf("**** Cancelling copy via user request\n");
                
-               EVFS_OPERATION_TASK(copy)->status = 
EVFS_OPERATION_TASK_STATUS_COMMITTED;
                return copy->source_stat.st_size;
        }
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to