From b2debb3777d6111cccf55af55837acaa235f9a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 20 Apr 2006 12:24:39 +0000 Subject: [PATCH] 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 --- src/system/libroot/posix/signal/sigprocmask.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/system/libroot/posix/signal/sigprocmask.c b/src/system/libroot/posix/signal/sigprocmask.c index dcf2dfe428..e304f105eb 100644 --- a/src/system/libroot/posix/signal/sigprocmask.c +++ b/src/system/libroot/posix/signal/sigprocmask.c @@ -1,7 +1,7 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include @@ -13,12 +13,12 @@ int 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) { errno = status; return -1; } -*/ + return 0; }