--- pth_high.c 2002/10/20 16:10:38 1.86
+++ pth_high.c 2002/10/20 16:19:39 1.87
@@ -195,7 +195,7 @@
/* block SIGCHLD signal */
sigemptyset(&ss_block);
sigaddset(&ss_block, SIGCHLD);
- sigprocmask(SIG_BLOCK, &ss_block, &ss_old);
+ pth_sc(sigprocmask)(SIG_BLOCK, &ss_block, &ss_old);
/* fork the current process */
pstat = -1;
@@ -207,7 +207,7 @@
/* restore original signal dispositions and execute the command */
sigaction(SIGINT, &sa_int, NULL);
sigaction(SIGQUIT, &sa_quit, NULL);
- sigprocmask(SIG_SETMASK, &ss_old, NULL);
+ pth_sc(sigprocmask)(SIG_SETMASK, &ss_old, NULL);
/* stop the Pth scheduling */
pth_scheduler_kill();
@@ -227,7 +227,7 @@
/* restore original signal dispositions and execute the command */
sigaction(SIGINT, &sa_int, NULL);
sigaction(SIGQUIT, &sa_quit, NULL);
- sigprocmask(SIG_SETMASK, &ss_old, NULL);
+ pth_sc(sigprocmask)(SIG_SETMASK, &ss_old, NULL);
/* return error or child process result code */
return (pid == -1 ? -1 : pstat);
|