Activated sigprocmask() (and really call the kernel syscall instead of itself...).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17176 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f274fa345d
commit
b2debb3777
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
* Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||||
** Distributed under the terms of the Haiku License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -13,12 +13,12 @@
|
|||||||
int
|
int
|
||||||
sigprocmask(int how, const sigset_t *set, sigset_t *oldSet)
|
sigprocmask(int how, const sigset_t *set, sigset_t *oldSet)
|
||||||
{
|
{
|
||||||
/* int status = sigprocmask(how, set, oldSet);
|
int status = _kern_sigprocmask(how, set, oldSet);
|
||||||
if (status < B_OK) {
|
if (status < B_OK) {
|
||||||
errno = status;
|
errno = status;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user