aports/testing/pdns/0010-disable-execinfo.patch
Matt Smith 2bf9528b2e testing/pdns: new aport
PowerDNS Authoritative Server
http://www.powerdns.com/
2011-04-05 07:06:35 -05:00

26 lines
675 B
Diff

--- ./pdns/receiver.cc.orig
+++ ./pdns/receiver.cc
@@ -375,10 +375,11 @@
#ifdef __linux__
-#include <execinfo.h>
+//#include <execinfo.h>
static void tbhandler(int num)
{
- L<<Logger::Critical<<"Got a signal "<<num<<", attempting to print trace: "<<endl;
+ L<<Logger::Critical<<"Got a signal "<<num<<" (trace printing hard-disabled)"<<endl;
+/*
void *array[20]; //only care about last 17 functions (3 taken with tracing support)
size_t size;
char **strings;
@@ -389,7 +390,7 @@
for (i = 0; i < size; i++) //skip useless functions
L<<Logger::Error<<strings[i]<<endl;
-
+*/
signal(SIGABRT, SIG_DFL);
abort();//hopefully will give core