Enlightenment CVS committal
Author : chaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins/file
Modified Files:
evfs_fs_trash.c
Log Message:
* Valgrind
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_trash.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evfs_fs_trash.c 18 Aug 2006 04:40:48 -0000 1.6
+++ evfs_fs_trash.c 19 Aug 2006 02:58:07 -0000 1.7
@@ -87,7 +87,7 @@
newfile->path = calloc(size, 1);
snprintf(newfile->path, size, "%s/%s", evfs_fs_trash_files, newpath);
free(newfile->plugin_uri);
-
+
newfile->plugin_uri = strdup("file");
newfile->plugin = posix_plugin;
@@ -149,7 +149,10 @@
snprintf(evfs_fs_trash_info, PATH_MAX, "%s/.Trash/info", getenv("HOME"));
snprintf(evfs_fs_trash_files, PATH_MAX, "%s/.Trash/files", getenv("HOME"));
+
+ /*FIXME - this assumes the trash plugin is loaded after posix - not always
true*/
posix_plugin = evfs_get_plugin_for_uri(evfs_server_get(), "file");
+
next_trash_file = NULL;
evfs_plugin_functions *functions = calloc(1, sizeof(evfs_plugin_functions));
@@ -271,7 +274,7 @@
long size)
{
printf("evfs_fs_trash.c read - STUB\n");
- return -1;
+ return 0;
}
int
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs