mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +02:00
* scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i]
before applying the handler in case it doesn't return.
This commit is contained in:
parent
115b09a504
commit
2ad6b1a531
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Jun 1 07:58:41 1997 Gary Houston <ghouston@actrix.gen.nz>
|
||||
|
||||
* scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i]
|
||||
before applying the handler in case it doesn't return.
|
||||
|
||||
Sat May 31 18:57:51 1997 Gary Houston <ghouston@actrix.gen.nz>
|
||||
|
||||
* scmsigs.h, async.h: updated.
|
||||
|
|
|
@ -140,13 +140,13 @@ sys_deliver_signals (void)
|
|||
{
|
||||
if (got_signal[i])
|
||||
{
|
||||
scm_apply (SCM_VELTS (*signal_handlers)[i],
|
||||
scm_listify (SCM_MAKINUM (i), SCM_UNDEFINED),
|
||||
SCM_EOL);
|
||||
got_signal[i] = 0;
|
||||
#ifndef HAVE_SIGACTION
|
||||
signal (i, take_signal);
|
||||
#endif
|
||||
scm_apply (SCM_VELTS (*signal_handlers)[i],
|
||||
scm_listify (SCM_MAKINUM (i), SCM_UNDEFINED),
|
||||
SCM_EOL);
|
||||
}
|
||||
}
|
||||
return SCM_UNSPECIFIED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue