summaryrefslogtreecommitdiff
path: root/mysys/safemalloc.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-12-14 10:53:32 +0100
committerSergei Golubchik <sergii@pisem.net>2011-12-14 10:53:32 +0100
commitdb8f698c8a03bcc920b9453f8822fbbd8ec7ea66 (patch)
tree3c12c81dfdf1ea5d2af805fb5f93daa0b45e408a /mysys/safemalloc.c
parent44d335b828440603353d8f1f4dfc6db2cf72ca8c (diff)
downloadmariadb-git-db8f698c8a03bcc920b9453f8822fbbd8ec7ea66.tar.gz
new configure option: NOT_FOR_DISTRIBUTION
fix safemalloc to compile w/o libbfd. CMakeLists.txt: NOT_FOR_DISTRIBUTION option cmake/readline.cmake: simplify libedit/readline detection. never use bundled libedit. use system readline v6 only if NOT_FOR_DISTRIBUTION=1 configure.cmake: use libbfd only if NOT_FOR_DISTRIBUTION=1 include/my_stacktrace.h: link with libbfd even w/o safemalloc.
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r--mysys/safemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index 61ad9af0631..5206a759740 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -225,7 +225,7 @@ static void print_stack(void **frame)
fprintf(stderr, ", ");
if (my_addr_resolve(frame[i], &loc))
- fprintf(stderr, "...");
+ fprintf(stderr, "%p", frame[i]);
else
fprintf(stderr, "%s:%u", loc.file, loc.line);
}