s/SIGCLD/SIGCHLD/ that was Sysv4 shit
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/openbox.cc
→
src/openbox.cc
@@ -66,7 +66,7 @@ printf("Caught SIGUSR1 signal. Restarting.\n");
openbox->restart(); break; - case SIGCLD: + case SIGCHLD: wait(NULL); break;@@ -121,9 +121,9 @@ sigaction(SIGFPE, &action, (struct sigaction *) 0);
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();