freebsd-ports/databases/monetdb/files/patch-common-utils-mutils-c
John Marino 39eff20776 Add new port databases/monetdb
PR:		186653
Submitted by:	Jim (Ohlste.in)
Reworked by:	marino

MonetDB is an open source column-oriented database management system
developed at the Centrum Wiskunde & Informatica (CWI) in the
Netherlands. It was designed to provide high performance on complex
queries against large databases, such as combining tables with hundreds
of columns and multi-million rows. MonetDB has been applied in
high-performance applications for data mining, online analytical
processing, geographic information systems, XML Query (XQuery), text
and multimedia retrieval.
2014-08-09 11:50:13 +00:00

30 lines
608 B
Text

--- common/utils/mutils.c.orig 2014-02-02 18:51:49.389290318 +0100
+++ common/utils/mutils.c 2014-02-02 18:55:21.300389407 +0100
@@ -315,26 +315,7 @@
#ifdef HAVE_EXECINFO_H
-/* Obtain a backtrace and print it to stdout. */
-void
-print_trace (void)
-{
- void *array[10];
- size_t size;
- char **strings;
- size_t i;
-
- size = backtrace (array, 10);
- strings = backtrace_symbols (array, size);
-
- printf ("Obtained " SZFMT " stack frames.\n", size);
-
- for (i = 0; i < size; i++)
- printf ("%s\n", strings[i]);
-
- free (strings);
-}
-#else
+/* Backtrace not enabled. */
void
print_trace(void)
{