diff options
| author | Andreas Schwab | 2014-11-02 18:02:32 +0100 |
|---|---|---|
| committer | Andreas Schwab | 2014-11-02 18:02:32 +0100 |
| commit | f26d02a625c6e40caba3899c53d2612c92f80f40 (patch) | |
| tree | cd5a67b2e1e97932c4e1b20fc272be2257eeccae /src | |
| parent | fce9e55323dc900473304cc6a31e374a1c943460 (diff) | |
| download | emacs-f26d02a625c6e40caba3899c53d2612c92f80f40.tar.gz emacs-f26d02a625c6e40caba3899c53d2612c92f80f40.zip | |
Fix incorrect assertion
* process.c (catch_child_signal): Fix incorrect assertion.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/process.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e79bcb7080a..62656d06354 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-02 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * process.c (catch_child_signal): Fix incorrect assertion. | ||
| 4 | |||
| 1 | 2014-11-01 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2014-11-01 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 6 | ||
| 3 | * macfont.m (macfont_draw): | 7 | * 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) | |||
| 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 |