Index: ossp-pkg/pth/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/pth/ChangeLog,v rcsdiff -q -kk '-r1.573' '-r1.574' -u '/v/ossp/cvs/ossp-pkg/pth/ChangeLog,v' 2>/dev/null --- ChangeLog 2002/10/20 13:49:28 1.573 +++ ChangeLog 2002/10/20 16:19:39 1.574 @@ -21,6 +21,10 @@ Changes between 1.4.1 and 1.5.0 (27-Jan-2002 to xx-Oct-2002) + *) Changes three direct sigprocmask(2) calls with the corresponding + "hard syscall mapping" macro calls. + [Nick Hudson ] + *) Add Autoconf support for GNU Hurd. [B. Douglas Hilton ] Index: ossp-pkg/pth/pth_high.c RCS File: /v/ossp/cvs/ossp-pkg/pth/pth_high.c,v rcsdiff -q -kk '-r1.86' '-r1.87' -u '/v/ossp/cvs/ossp-pkg/pth/pth_high.c,v' 2>/dev/null --- 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);