Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/common Modified Files: evfs_io.c evfs_misc.c Log Message: * Port 'remove' (standard and recursive), to new workflow engine * Support progress events for remove =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_io.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- evfs_io.c 11 Mar 2006 07:11:16 -0000 1.48 +++ evfs_io.c 14 Mar 2006 13:06:23 -0000 1.49 @@ -583,7 +583,7 @@ evfs_write_file_command_client(client, command); break; default: - printf("Command type not handled in switch (client)\n"); + printf("Command type not handled in switch (client) : %d\n", command->type); break; } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_misc.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- evfs_misc.c 5 Mar 2006 05:41:53 -0000 1.3 +++ evfs_misc.c 14 Mar 2006 13:06:23 -0000 1.4 @@ -1,5 +1,7 @@ #include "evfs.h" +static evfs_filereference* empty_filereference = NULL; + int evfs_file_path_compare(evfs_filereference * file1, evfs_filereference * file2) { @@ -58,3 +60,17 @@ return equal; } + +evfs_filereference* evfs_empty_file_get() +{ + if (!empty_filereference) { + evfs_filereference* ref = calloc(1,sizeof(evfs_filereference)); + ref->path = "/"; + ref->plugin_uri = ""; + + empty_filereference = ref; + } + + + return empty_filereference; +} ------------------------------------------------------- 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