From dcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 25 Jan 2011 21:00:27 -0600 Subject: testing/xulrunner: promote to main --- main/xulrunner/ipc-chromium-execinfo.patch | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 main/xulrunner/ipc-chromium-execinfo.patch (limited to 'main/xulrunner/ipc-chromium-execinfo.patch') diff --git a/main/xulrunner/ipc-chromium-execinfo.patch b/main/xulrunner/ipc-chromium-execinfo.patch new file mode 100644 index 0000000000..48fc1c6a33 --- /dev/null +++ b/main/xulrunner/ipc-chromium-execinfo.patch @@ -0,0 +1,33 @@ +--- mozilla-1.9.2.orig/ipc/chromium/src/base/debug_util_posix.cc ++++ mozilla-1.9.2/ipc/chromium/src/base/debug_util_posix.cc +@@ -6,7 +6,6 @@ + #include "base/debug_util.h" + + #include +-#include + #include + #include + #include +@@ -114,6 +113,7 @@ + } + + StackTrace::StackTrace() { ++#if 0 + const int kMaxCallers = 256; + + void* callers[kMaxCallers]; +@@ -128,11 +128,14 @@ + } else { + trace_.resize(0); + } ++#endif + } + + void StackTrace::PrintBacktrace() { ++#if 0 + fflush(stderr); + backtrace_symbols_fd(&trace_[0], trace_.size(), STDERR_FILENO); ++#endif + } + + void StackTrace::OutputToStream(std::ostream* os) { -- cgit v1.2.3