Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_server_handle.c
Log Message:
* Some very early UNSUPPORTED_OPERATION and error handling support
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- evfs_server_handle.c 1 Jan 2006 04:21:51 -0000 1.30
+++ evfs_server_handle.c 2 Jan 2006 08:55:51 -0000 1.31
@@ -262,9 +262,21 @@
plugin = evfs_get_plugin_for_uri(client->server,
command->file_command.files[0]->plugin_uri);
dst_plugin = evfs_get_plugin_for_uri(client->server,
command->file_command.files[1]->plugin_uri);
+
+
if (plugin && dst_plugin) {
+ /*Check for supported options*/
+ if (! (
+ plugin->functions->evfs_file_lstat &&
+ plugin->functions->evfs_file_open &&
+ dst_plugin->functions->evfs_file_create
+ )) {
+ printf("AHH! Not supported!\n");
+ return;
+ }
+
/*Get the source file size*/
(*plugin->functions->evfs_file_lstat)(command, &file_stat);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs