mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
* scmsigs.c (sys_deliver_signals): add a comment about a probable bug.
This commit is contained in:
parent
e320da2fb9
commit
cc0b331281
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Jun 14 19:00:58 1997 Gary Houston <ghouston@actrix.gen.nz>
|
||||||
|
|
||||||
|
* scmsigs.c (sys_deliver_signals): add a comment about a probable bug.
|
||||||
|
|
||||||
Wed Jun 11 00:33:00 1997 Jim Blandy <jimb@floss.red-bean.com>
|
Wed Jun 11 00:33:00 1997 Jim Blandy <jimb@floss.red-bean.com>
|
||||||
|
|
||||||
* Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
|
* Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
|
||||||
|
|
|
@ -140,6 +140,12 @@ sys_deliver_signals (void)
|
||||||
{
|
{
|
||||||
if (got_signal[i])
|
if (got_signal[i])
|
||||||
{
|
{
|
||||||
|
/* The flag is reset before calling the handler in case the
|
||||||
|
handler doesn't return. If the handler doesn't return
|
||||||
|
but leaves other signals flagged, they their handlers
|
||||||
|
will be applied some time later when the async is checked
|
||||||
|
again. It would probably be better to reset the flags
|
||||||
|
after doing a longjmp. */
|
||||||
got_signal[i] = 0;
|
got_signal[i] = 0;
|
||||||
#ifndef HAVE_SIGACTION
|
#ifndef HAVE_SIGACTION
|
||||||
signal (i, take_signal);
|
signal (i, take_signal);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue