Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/common Modified Files: evfs_io.c evfs_new.c Log Message: * Drastic changes allowing a more generic VFS structure, and also allowing file system operations between different file systems. This still needs a lot of work, but a basic 'copy' function is already working * Fixed the non-generic smb-stat problem. This will still be an issue with multiple-client locking, but we'll deal with that later =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_io.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- evfs_io.c 10 Oct 2005 07:24:31 -0000 1.16 +++ evfs_io.c 16 Oct 2005 10:09:05 -0000 1.17 @@ -179,6 +179,8 @@ case EVFS_CMD_RENAME_FILE: case EVFS_CMD_FILE_STAT: case EVFS_CMD_LIST_DIR: + case EVFS_CMD_FILE_TEST: + case EVFS_CMD_FILE_COPY: evfs_write_file_command(conn, command); break; } @@ -193,6 +195,8 @@ case EVFS_CMD_RENAME_FILE: case EVFS_CMD_FILE_STAT: case EVFS_CMD_LIST_DIR: + case EVFS_CMD_FILE_TEST: + case EVFS_CMD_FILE_COPY: evfs_write_file_command_client(client, command); break; } @@ -297,14 +301,14 @@ command->file_command.files = realloc(command->file_command.files, sizeof(evfs_filereference*)*(command->file_command.num_files+1)); command->file_command.files[command->file_command.num_files] = path->files[0]; - command->file_command.num_files++; } - break; + } + break; case EVFS_COMMAND_END: /*TODO cleanp ref event*/ =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_new.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- evfs_new.c 15 Aug 2005 08:52:31 -0000 1.1 +++ evfs_new.c 16 Oct 2005 10:09:05 -0000 1.2 @@ -2,7 +2,6 @@ evfs_command* evfs_command_new() { evfs_command* com = NEW(evfs_command); - bzero(com, sizeof(evfs_command)); return com; } ------------------------------------------------------- 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