OSSP CVS Repository

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

Check-in Number: 1224
Date: 2001-Oct-30 19:56:13 (local)
2001-Oct-30 18:56:13 (UTC)
User:ms
Branch:
Comment: Cleanup the signal handler to avoid compiler warnings on some platforms.
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ch_pipe.c      1.25 -> 1.26     1 inserted, 1 deleted

ossp-pkg/l2/l2_ch_pipe.c 1.25 -> 1.26

--- l2_ch_pipe.c 2001/10/04 12:53:54     1.25
+++ l2_ch_pipe.c 2001/10/30 18:56:13     1.26
@@ -62,7 +62,7 @@
 
     if (sig == SIGCHLD) {
         TRACE("SIGCHLD caught");
-        Pid = waitpid(-1, &iStatus, WUNTRACED | WNOHANG);
+        Pid = waitpid((pid_t)-1, &iStatus, WUNTRACED | WNOHANG);
         if (WIFEXITED(iStatus))
             TRACE("EXITED child");     /* child finished and returned       */
         else if (WIFSIGNALED(iStatus))

CVSTrac 2.0.1