[Samba4] [FreeBSD] backtrace patch [1/1]

Timur I. Bakeyev timur at com.bat.ru
Mon Oct 8 02:13:31 GMT 2007


Here is a small patch that allows to use backtrace() function to generate
stack traces on panic. There is an external, FreeBSD specific library, that
mimics behaviour of the glibc backtrace() and friends functions.

With regards,
-------------- next part --------------
Index: lib/util/fault.m4
--- lib/util/fault.m4	(revision 25200)
+++ lib/util/fault.m4	(working copy)
@@ -1,2 +1,5 @@
+AC_SEARCH_LIBS_EXT(backtrace, [execinfo], EXECINFO_LIBS)

More information about the samba-technical mailing list