aboutsummaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/CRT.c b/CRT.c
index 14af420..da107ba 100644
--- a/CRT.c
+++ b/CRT.c
@@ -11,7 +11,7 @@ in the source distribution for its full text.
#include <signal.h>
#include <stdlib.h>
#include <stdbool.h>
-#include <execinfo.h>
+//#include <execinfo.h>
#include "String.h"
@@ -128,9 +128,9 @@ static void CRT_handleSIGSEGV(int sgn) {
#else
fprintf(stderr, "\n\nhtop " VERSION " aborting. Unsupported platform.\n");
#endif
- size_t size = backtrace(backtraceArray, sizeof(backtraceArray));
- fprintf(stderr, "Backtrace: \n");
- backtrace_symbols_fd(backtraceArray, size, 2);
+ //size_t size = backtrace(backtraceArray, sizeof(backtraceArray));
+ //fprintf(stderr, "Backtrace: \n");
+ //backtrace_symbols_fd(backtraceArray, size, 2);
abort();
}