1
Fork 0
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:
Gary Houston 1997-06-14 19:04:24 +00:00
parent e320da2fb9
commit cc0b331281
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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);