OSSP CVS Repository

ossp - Check-in [2630]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2630
Date: 2002-Oct-20 18:19:39 (local)
2002-Oct-20 16:19:39 (UTC)
User:rse
Branch:
Comment: Changes three direct sigprocmask(2) calls with the corresponding "hard syscall mapping" macro calls.

Submitted by: Nick Hudson <skrll@netbsd.org>

Tickets:
Inspections:
Files:
ossp-pkg/pth/ChangeLog      1.573 -> 1.574     4 inserted, 0 deleted
ossp-pkg/pth/pth_high.c      1.86 -> 1.87     3 inserted, 3 deleted

ossp-pkg/pth/ChangeLog 1.573 -> 1.574

--- 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 <skrll@netbsd.org>]
+
    *) Add Autoconf support for GNU Hurd.
       [B. Douglas Hilton <doug.hilton@engineer.com>]
 


ossp-pkg/pth/pth_high.c 1.86 -> 1.87

--- 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);

CVSTrac 2.0.1