blob: 12013d328d835af5f8ae7428a30d9804ae6ee8fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-cc,v 1.3 2010/02/18 15:46:10 taca Exp $
See patch-ca.
--- sql/stacktrace.c.orig 2010-01-15 09:49:23.000000000 +0000
+++ sql/stacktrace.c
@@ -271,7 +271,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
|