diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-12-14 10:53:32 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-12-14 10:53:32 +0100 |
commit | db8f698c8a03bcc920b9453f8822fbbd8ec7ea66 (patch) | |
tree | 3c12c81dfdf1ea5d2af805fb5f93daa0b45e408a /mysys/safemalloc.c | |
parent | 44d335b828440603353d8f1f4dfc6db2cf72ca8c (diff) | |
download | mariadb-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.c | 2 |
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); } |