Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
actions.c
Log Message:
Bypass some obscure command preprocessing stuff (echo).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -3 -r1.143 -r1.144
--- actions.c 28 Feb 2004 15:13:58 -0000 1.143
+++ actions.c 11 Mar 2004 16:53:31 -0000 1.144
@@ -658,7 +658,6 @@
static int
runApp(char *exe, char *params)
{
-
char *sh;
char *path;
char *real_exec;
@@ -779,6 +778,7 @@
int
execApplication(void *params)
{
+#if 0 /* Is there any reason to do this? */
char exe[FILEPATH_LEN_MAX];
char s[FILEPATH_LEN_MAX], *ss;
int i, l;
@@ -825,6 +825,15 @@
pclose(f);
}
EDBUG_RETURN(0);
+#else
+ char exe[FILEPATH_LEN_MAX];
+ char *s = params;
+
+ sscanf(s, "%4000s", exe);
+ runApp(exe, s);
+
+ return 0;
+#endif
}
static int
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs