Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_main.c 


Log Message:


actually set up the 2nd stack (8k - much mroe than we need)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -3 -r1.106 -r1.107
--- e_main.c    29 Jun 2005 14:28:46 -0000      1.106
+++ e_main.c    29 Jun 2005 15:29:53 -0000      1.107
@@ -65,10 +65,21 @@
    char buf[1024];
    char *s;
    struct sigaction action;
-
    /* trap deadly bug signals and allow some form of sane recovery */
    /* or ability to gdb attach and debug at this point - better than your */
    /* wm/desktop vanishing and not knowing what happened */
+
+#if 1
+     {   
+       stack_t ss;
+       
+       ss.ss_sp = malloc(8 * 1024);
+       ss.ss_size = 8 * 1024;
+       ss.ss_flags = 0;
+       sigaltstack(&ss, NULL);
+     }
+#endif
+   
    action.sa_sigaction = e_sigseg_act;
    action.sa_flags = SA_ONSTACK | SA_NODEFER | SA_RESETHAND | SA_SIGINFO;
    sigemptyset(&action.sa_mask);




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to