diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 02:31:46 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 02:31:46 +0000 |
| commit | d17b86a41f13b9e01b9adef3190a2d3bb022f6a5 (patch) | |
| tree | b63139bfdecb437986267f5739e945161659ddf5 | |
| parent | f14d74a3acf9d29fb9b4219d1f418a416d0fa612 (diff) | |
s/SIGCLD/SIGCHLD/ that was Sysv4 shit
| -rw-r--r-- | src/openbox.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openbox.cc b/src/openbox.cc index 49849ea9..9642cd06 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -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(); |
