aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Michael Forney <mforney@mforney.org> 2013-09-28 00:01:40 -0700
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-10-26 23:50:59 +0100
commit8eb0e5d05aef244455547637479f4790b8715db5 (patch)
tree50625fc3cd98959f38d423f8512d76d76b8f1d0c
parentcf56925cbc33900d9d62072aa279d00d54e7efda (diff)
downloadpaludis-8eb0e5d05aef244455547637479f4790b8715db5.tar.gz
paludis-8eb0e5d05aef244455547637479f4790b8715db5.tar.xz
Use SIGCHLD instead of SIGCLD
SIGCLD is a synonym anyway and is not specified by POSIX.
-rw-r--r--paludis/util/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index 833a238..0a5a312 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -791,13 +791,13 @@ Process::run()
{
if (_imp->as_main_process)
{
- /* Ignore CLD. POSIX may or may not say that if we do this, our child will
+ /* Ignore CHLD. POSIX may or may not say that if we do this, our child will
* not become a zombie. */
struct sigaction act;
sigemptyset(&act.sa_mask);
act.sa_handler = SIG_IGN;
act.sa_flags = 0;
- sigaction(SIGCLD, &act, nullptr);
+ sigaction(SIGCHLD, &act, nullptr);
pid_t p(fork());
if (-1 == p)