Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_signals.c
Log Message:
Ifdef optional functionality.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_signals.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_signals.c 18 Mar 2005 17:02:47 -0000 1.3
+++ e_signals.c 31 Mar 2005 03:21:58 -0000 1.4
@@ -5,6 +5,8 @@
* to add backtrace support.
*/
#include "e.h"
+
+#ifdef OBJECT_PARANOIA_CHECK
#include <execinfo.h>
/* a tricky little devil, requires e and it's libs to be built
@@ -20,6 +22,11 @@
backtrace_symbols_fd(array, size, 2);
exit(-11);
}
-
+#else
+void e_sigseg_act(int x, siginfo_t *info, void *data){
+ write(2, "**** SEGMENTATION FAULT ****\n", 29);
+ write(2, "**** Backtrace disabled... *****\n\n", 34);
+}
+#endif
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs