s/SIGCLD/SIGCHLD/ that was Sysv4 shit
authorDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 02:31:46 +0000 (02:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 02:31:46 +0000 (02:31 +0000)
src/openbox.cc

index 49849ea..9642cd0 100644 (file)
@@ -66,7 +66,7 @@ void Openbox::signalHandler(int signal)
     openbox->restart();
     break;
 
-  case SIGCLD:
+  case SIGCHLD:
     wait(NULL);
     break;
 
@@ -121,9 +121,9 @@ Openbox::Openbox(int argc, char **argv)
   sigaction(SIGTERM, &action, (struct sigaction *) 0);
   sigaction(SIGINT, &action, (struct sigaction *) 0);
   sigaction(SIGHUP, &action, (struct sigaction *) 0);
-  sigaction(SIGCLD, &action, (struct sigaction *) 0);
+  sigaction(SIGCHLD, &action, (struct sigaction *) 0);
 
-  // anything that died while we were restarting won't give us a SIGCLD
+  // anything that died while we were restarting won't give us a SIGCHLD
   while (waitpid(-1, NULL, WNOHANG) > 0);
 
   otk::Timer::initialize();