From: Andreas Schwab Date: Sun, 2 Nov 2014 17:02:32 +0000 (+0100) Subject: Fix incorrect assertion X-Git-Tag: emacs-25.0.90~2635^2~601 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f26d02a625c6e40caba3899c53d2612c92f80f40;p=emacs.git Fix incorrect assertion * process.c (catch_child_signal): Fix incorrect assertion. --- diff --git a/src/ChangeLog b/src/ChangeLog index e79bcb7080a..62656d06354 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-11-02 Andreas Schwab + + * process.c (catch_child_signal): Fix incorrect assertion. + 2014-11-01 Jan Djärv * macfont.m (macfont_draw): 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) emacs_sigaction_init (&action, deliver_child_signal); block_child_signal (&oldset); sigaction (SIGCHLD, &action, &old_action); - eassert (! (old_action.sa_flags & SA_SIGINFO)); + eassert (old_action.sa_handler == SIG_DFL || old_action.sa_handler == SIG_IGN + || ! (old_action.sa_flags & SA_SIGINFO)); if (old_action.sa_handler != deliver_child_signal) lib_child_handler