summaryrefslogtreecommitdiff
path: root/databases/mysql5-server/patches/patch-cb
blob: 52aab1edc871d386803d091b4d35abfeda21c002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-cb,v 1.1 2008/01/22 00:42:00 rillig Exp $

See patch-ca.

--- libmysqld/stacktrace.c.orig	2007-11-15 15:06:35.000000000 +0100
+++ libmysqld/stacktrace.c	2008-01-22 01:16:41.000000000 +0100
@@ -251,7 +251,7 @@ void write_core(int sig)
   __gcov_flush();
 #endif
   pthread_kill(pthread_self(), sig);
-#if defined(P_MYID) && !defined(SCO)
+#if HAVE_SIGSEND && defined(P_MYID) && !defined(SCO)
   /* On Solaris, the above kill is not enough */
   sigsend(P_PID,P_MYID,sig);
 #endif