mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 22:10:29 +02:00
* configure.in: check availability of siginterrupt.
* scmsigs.c (scm_sigaction): add SA_RESTART to flags only if HAVE_RESTARTABLE_SYSCALLS. (scm_init_scmsigs): use siginterrupt if it's available. not everyone who has restartable syscalls has SA_RESTART it seems. (scm_sigaction): use scm_num2long/scm_long2num when converting SIG_DFL/SIG_IGN, in case it doesn't fit in an INUM. use scm_integer_p to test the type.
This commit is contained in:
parent
240ed66f84
commit
7ee92fcefd
6 changed files with 117 additions and 79 deletions
|
@ -321,6 +321,9 @@
|
|||
/* Define if you have the sigaction function. */
|
||||
#undef HAVE_SIGACTION
|
||||
|
||||
/* Define if you have the siginterrupt function. */
|
||||
#undef HAVE_SIGINTERRUPT
|
||||
|
||||
/* Define if you have the socketpair function. */
|
||||
#undef HAVE_SOCKETPAIR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue