Commit ad52f2eb4c5d8370298de587f090e84727d8bcf2

Guillem Jover 2008-07-12T07:55:57

Use sigprocmask instead of _sigprocmask

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;