From bed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 30 Sep 2011 20:46:18 -0700 Subject: Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP) --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 3a24f5e9..0f7d48c3 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1001,7 +1001,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode) if(IsDebuggerPresent()) DebugBreak(); #elif defined(SIGTRAP) - kill(getpid(), SIGTRAP); + raise(SIGTRAP); #endif } -- cgit v1.2.3