Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_start_main.c 


Log Message:


print out failed exec path if failed

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_start_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_start_main.c      21 Oct 2006 05:57:27 -0000      1.3
+++ e_start_main.c      22 Oct 2006 05:53:50 -0000      1.4
@@ -268,6 +268,9 @@
    else snprintf(buf, sizeof(buf), "%s/lib", _prefix_path);
    env_set("LD_LIBRARY_PATH", buf);
 
+   snprintf(buf, sizeof(buf), "%s/lib/enlightenment/preload/e_precache.so", 
_prefix_path);
+   env_set("LD_PRELOAD", buf);
+   
    args = alloca((argc + 1) * sizeof(char *));
    args[0] = "enlightenment";
    for (i = 1; i < argc; i++) args[i] = argv[i];
@@ -275,6 +278,8 @@
    
    snprintf(buf, sizeof(buf), "%s/bin/enlightenment", _prefix_path);
    execv(buf, args);
+   printf("FAILED TO RUN:\n");
+   printf("  %s\n", buf);
    perror("execv");
    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

Reply via email to