Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/plugins/file Modified Files: evfs_fs_samba.c evfs_fs_trash.c Log Message: * Cleanup warnings =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_samba.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- evfs_fs_samba.c 23 Aug 2006 11:29:32 -0000 1.8 +++ evfs_fs_samba.c 13 Sep 2006 10:04:27 -0000 1.9 @@ -229,6 +229,8 @@ err = smb_context->rename(smb_context, command->file_command.files[0]->path, smb_context, command->file_command.files[1]->path); + + return 0; } int @@ -293,10 +295,7 @@ char dir_path[PATH_MAX]; - int fd, dh1, dh2, dh3, dsize, dirc; int size; - char dirbuf[8192]; - char *dirp; SMBCFILE *dir = NULL; struct smbc_dirent *entry = NULL; Ecore_List *files = ecore_list_new(); @@ -429,6 +428,7 @@ else { printf("Could not stat '%s'\n", file_smb); + return 1; } } =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_trash.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evfs_fs_trash.c 27 Aug 2006 09:58:53 -0000 1.9 +++ evfs_fs_trash.c 13 Sep 2006 10:04:27 -0000 1.10 @@ -210,6 +210,7 @@ { printf("Received disconnect for client at evfs_fs_posix.c for client %d\n", client->id); + return 0; } int @@ -300,8 +301,10 @@ { if (file->plugin) { return (*EVFS_PLUGIN_FILE(posix_plugin)->functions->evfs_file_write) (file, bytes, size); - } else + } else { printf("Trash file not opened with trash plugin\n"); + return -1; + } } void evfs_file_notify_create(evfs_filereference* ref) @@ -407,4 +410,6 @@ ecore_hash_set(trash_dir_mapping, strdup(file->path), strdup(par->path)); evfs_cleanup_filereference(par); + + return 1; } ------------------------------------------------------------------------- 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