aboutsummaryrefslogtreecommitdiff
path: root/databases/mariadb55-server/files/patch-MDEV-15961
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mariadb55-server/files/patch-MDEV-15961')
-rw-r--r--databases/mariadb55-server/files/patch-MDEV-1596147
1 files changed, 0 insertions, 47 deletions
diff --git a/databases/mariadb55-server/files/patch-MDEV-15961 b/databases/mariadb55-server/files/patch-MDEV-15961
deleted file mode 100644
index cbe9fecafb48..000000000000
--- a/databases/mariadb55-server/files/patch-MDEV-15961
+++ /dev/null
@@ -1,47 +0,0 @@
-https://jira.mariadb.org/browse/MDEV-15961
-
---- mysys/stacktrace.c.orig 2018-01-18 17:10:31 UTC
-+++ mysys/stacktrace.c
-@@ -34,19 +34,19 @@
- #include <execinfo.h>
- #endif
-
-+#ifdef __linux__
- #define PTR_SANE(p) ((p) && (char*)(p) >= heap_start && (char*)(p) <= heap_end)
--
- static char *heap_start;
--
--#ifdef HAVE_BSS_START
- extern char *__bss_start;
--#endif
-+#else
-+#define PTR_SANE(p) (p)
-+#endif /* __linux */
-
- void my_init_stacktrace()
- {
--#ifdef HAVE_BSS_START
-+#ifdef __linux__
- heap_start = (char*) &__bss_start;
--#endif
-+#endif /* __linux__ */
- }
-
- #ifdef __linux__
-@@ -131,14 +131,14 @@ static int safe_print_str(const char *ad
-
- void my_safe_print_str(const char* val, int max_len)
- {
-+#ifdef __linux__
- char *heap_end;
-
--#ifdef __linux__
- if (!safe_print_str(val, max_len))
- return;
--#endif
-
- heap_end= (char*) sbrk(0);
-+#endif
-
- if (!PTR_SANE(val))
- {