From ad52f2eb4c5d8370298de587f090e84727d8bcf2 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 12 Jul 2008 07:55:57 +0300 Subject: [PATCH] Use sigprocmask instead of _sigprocmask --- src/setmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setmode.c b/src/setmode.c index 66f2924..d9c7b8d 100644 --- a/src/setmode.c +++ b/src/setmode.c @@ -184,10 +184,10 @@ setmode(const char *p) * as best we can. */ sigfillset(&sigset); - (void)_sigprocmask(SIG_BLOCK, &sigset, &sigoset); + (void)sigprocmask(SIG_BLOCK, &sigset, &sigoset); (void)umask(mask = umask(0)); mask = ~mask; - (void)_sigprocmask(SIG_SETMASK, &sigoset, NULL); + (void)sigprocmask(SIG_SETMASK, &sigoset, NULL); setlen = SET_LEN + 2;