aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-03-25 07:43:26 -0700
committerPaul Eggert2014-03-25 07:43:26 -0700
commit1e952f0a7a1d0cc533438dcad37db08d8af6855f (patch)
tree423d42b20476efd08fa7c0e4b62756c1b09c8cdd /src/ChangeLog
parent1edb4a2ec657c305880901e78317daf1990b5358 (diff)
downloademacs-1e952f0a7a1d0cc533438dcad37db08d8af6855f.tar.gz
emacs-1e952f0a7a1d0cc533438dcad37db08d8af6855f.zip
Handle sigmask better with nested signal handlers.
* atimer.c (sigmask_atimers): Remove. Remaining use rewritten to use body of this function. * atimer.c (block_atimers, unblock_atimers): * callproc.c (block_child_signal, unblock_child_signal): * sysdep.c (block_tty_out_signal, unblock_tty_out_signal): New arg OLDSET. All callers changed. * atimer.c (block_atimers, unblock_atimers): * callproc.c (block_child_signal, unblock_child_signal): * keyboard.c (handle_interrupt): * sound.c (vox_configure, vox_close): Restore the old signal mask rather than unilaterally clearing bits from the mask, in case a handler is running within another handler. All callers changed. * lisp.h, process.c, process.h, term.c: Adjust decls and callers to match new API. * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE; signal handlers aren't supposed to use floating point anyway. (handle_arith_signal): Unblock just SIGFPE rather than clearing mask. Fixes: debbugs:15561
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d9e99722319..44ebe76555c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,25 @@
12014-03-25 Paul Eggert <eggert@cs.ucla.edu>
2
3 Handle sigmask better with nested signal handlers (Bug#15561).
4 * atimer.c (sigmask_atimers): Remove.
5 Remaining use rewritten to use body of this function.
6 * atimer.c (block_atimers, unblock_atimers):
7 * callproc.c (block_child_signal, unblock_child_signal):
8 * sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
9 New arg OLDSET. All callers changed.
10 * atimer.c (block_atimers, unblock_atimers):
11 * callproc.c (block_child_signal, unblock_child_signal):
12 * keyboard.c (handle_interrupt):
13 * sound.c (vox_configure, vox_close):
14 Restore the old signal mask rather than unilaterally clearing bits
15 from the mask, in case a handler is running within another
16 handler. All callers changed.
17 * lisp.h, process.c, process.h, term.c:
18 Adjust decls and callers to match new API.
19 * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE;
20 signal handlers aren't supposed to use floating point anyway.
21 (handle_arith_signal): Unblock just SIGFPE rather than clearing mask.
22
12014-03-23 Daniel Colascione <dancol@dancol.org> 232014-03-23 Daniel Colascione <dancol@dancol.org>
2 24
3 Split gc_sweep into discrete functions for legibility and better 25 Split gc_sweep into discrete functions for legibility and better