raise now calls kill to have errno set correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17493 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2002-2004, Haiku Project. All rights reserved.
|
* Copyright (c) 2002-2006, Haiku Project. All rights reserved.
|
||||||
* Distributed under the terms of the Haiku license.
|
* Distributed under the terms of the Haiku license.
|
||||||
*
|
*
|
||||||
* Author(s):
|
* Author(s):
|
||||||
@@ -14,6 +14,6 @@
|
|||||||
int
|
int
|
||||||
raise(int sig)
|
raise(int sig)
|
||||||
{
|
{
|
||||||
return send_signal(find_thread(NULL), sig);
|
return kill(find_thread(NULL), sig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user