summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2005-04-27 15:42:15 +0000
committerEgbert Eich <eich@suse.de>2005-04-27 15:42:15 +0000
commite4b33f4e91a5379c99ecf78ffb6a3e836cb42491 (patch)
tree2d2c4ab587cc219f54a52c7082b126d49f2c95ed
parent246b14cb29250517912d9c661ab037a953f4bbf4 (diff)
Catch SIGCHLD in OsBlockSignals() too to make sure this signal doesn'tXORG-6_8_99_5
intercept reading the authority file (Fabian Franz, Bugzilla #3137).
-rw-r--r--os/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index 5162ff11a..659be30e0 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1665,6 +1665,9 @@ OsBlockSignals (void)
#ifdef SIGTTOU
sigaddset (&set, SIGTTOU);
#endif
+#ifdef SIGCHLD
+ sigaddset (&set, SIGCHLD);
+#endif
sigprocmask (SIG_BLOCK, &set, &PreviousSignalMask);
}
#endif