Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/demo
Modified Files:
evfs_demo.c
Log Message:
Plugin path fix
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/demo/evfs_demo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evfs_demo.c 15 Aug 2005 08:52:31 -0000 1.1
+++ evfs_demo.c 15 Aug 2005 10:00:22 -0000 1.2
@@ -4,13 +4,17 @@
evfs_connection* con;
evfs_file_uri_path* path;
evfs_file_uri_path* dir_path;
+ char pathi[1024];
printf("EVFS Demo system..\n");
con = evfs_connect();
- path = evfs_parse_uri("posix:///home/chaos/.bash_profile");
- dir_path = evfs_parse_uri("posix:///root/");
+ path = evfs_parse_uri("posix:///dev/ttyS0");
+
+
+ snprintf(pathi,1024,"posix://%s", getenv("HOME"));
+ dir_path = evfs_parse_uri(pathi);
printf("Plugin uri is '%s', for path '%s'\n\n",
path->files[0]->plugin_uri, path->files[0]->path);
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs