Commit f26d02a6 authored by Andreas Schwab's avatar Andreas Schwab

Fix incorrect assertion

* process.c (catch_child_signal): Fix incorrect assertion.
parent fce9e553
2014-11-02 Andreas Schwab <schwab@linux-m68k.org>
* process.c (catch_child_signal): Fix incorrect assertion.
2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
* macfont.m (macfont_draw):
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment