Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e


Modified Files:
        xnest.sh 


Log Message:
Fix valgrind launch

===================================================================
RCS file: /cvs/e/e17/apps/e/xnest.sh,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- xnest.sh    12 Mar 2007 14:29:56 -0000      1.15
+++ xnest.sh    24 Mar 2007 14:33:34 -0000      1.16
@@ -11,14 +11,14 @@
 echo -e "run\nbt\nq\ny" > $tmp
 
 case "$1" in
-       "")             action="gdb -x $tmp --args" ; main=$disp_num ;;
+       "")     action="gdb -x $tmp --args" ; main=$disp_num ;;
        "-b")   action="gdb -x $tmp --args" ; main=$disp_num ;;
        "-c")   action="cgdb" ; main=$disp_num ;;
        "-d")   action="ddd -display $main --args" ;;
        "-e")   action="" ; e_args="-display $disp_num" ;;
        "-g")   action="gdb --args" ; main=$disp_num ;;
-       "-l")   action="valgrind --tool=memcheck --leak-check=yes 
--show-reachable=yes --log-file=valgrind_log" ;;
-       "-m")   action="valgrind --tool=memcheck --log-file=valgrind_log" ;;
+       "-l")   action="valgrind --tool=memcheck --leak-check=yes 
--show-reachable=yes --log-file=valgrind_log" ; main=$disp_num ;;
+       "-m")   action="valgrind --tool=memcheck --log-file=valgrind_log" ; 
main=$disp_num ;;
        "-p")   action="memprof --display=$main" ; main=$disp_num ;;
        "-r")   action="memprof_raster --display=$main" ; main=$disp_num ;;
        "-s")   action="strace -F -o strace_log" ;;
@@ -48,6 +48,7 @@
 
 sleep 2   # Someone reported that it starts E before X has started properly.
 
+echo "export DISPLAY=$main; export E_START="enlightenment_start"; $action 
enlightenment $e_args"
 export DISPLAY=$main; export E_START="enlightenment_start"; $action 
enlightenment $e_args
 
 rm -f $tmp



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to