aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndreas Schwab2014-11-02 18:02:32 +0100
committerAndreas Schwab2014-11-02 18:02:32 +0100
commitf26d02a625c6e40caba3899c53d2612c92f80f40 (patch)
treecd5a67b2e1e97932c4e1b20fc272be2257eeccae /src/process.c
parentfce9e55323dc900473304cc6a31e374a1c943460 (diff)
downloademacs-f26d02a625c6e40caba3899c53d2612c92f80f40.tar.gz
emacs-f26d02a625c6e40caba3899c53d2612c92f80f40.zip
Fix incorrect assertion
* process.c (catch_child_signal): Fix incorrect assertion.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 06fc918cf54..6eae5166465 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7092,7 +7092,8 @@ catch_child_signal (void)
7092 emacs_sigaction_init (&action, deliver_child_signal); 7092 emacs_sigaction_init (&action, deliver_child_signal);
7093 block_child_signal (&oldset); 7093 block_child_signal (&oldset);
7094 sigaction (SIGCHLD, &action, &old_action); 7094 sigaction (SIGCHLD, &action, &old_action);
7095 eassert (! (old_action.sa_flags & SA_SIGINFO)); 7095 eassert (old_action.sa_handler == SIG_DFL || old_action.sa_handler == SIG_IGN
7096 || ! (old_action.sa_flags & SA_SIGINFO));
7096 7097
7097 if (old_action.sa_handler != deliver_child_signal) 7098 if (old_action.sa_handler != deliver_child_signal)
7098 lib_child_handler 7099 lib_child_handler