# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/noad/backtrace.patch.uclibc # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- noad-0.5.2/main.cpp.orig 2004-12-17 22:26:42.000000000 +0100 +++ noad-0.5.2/main.cpp 2005-02-16 21:57:35.875947808 +0100 @@ -24,7 +24,6 @@ #include #include #include -#include #include "noad.h" #include "tnoad.h" --- noad-0.5.2/tools.cpp.orig 2005-02-16 21:27:30.000000000 +0100 +++ noad-0.5.2/tools.cpp 2005-02-16 21:30:33.661561880 +0100 @@ -16,7 +16,6 @@ #include #include #include -#include extern int SysLogLevel; @@ -1042,6 +1041,11 @@ void show_stackframe(bool bFork) { + char *msg = "[bt] Execution path: "; + if (!bFork) + fprintf(stderr, "%s\n", msg); + syslog(LOG_INFO, msg); +/* void *trace[32]; char **messages = (char **)NULL; int i, trace_size = 0; @@ -1057,5 +1061,6 @@ fprintf(stderr, "[bt] %s\n", messages[i]); syslog(LOG_INFO, "[bt] %s\n", messages[i]); } +*/ }