mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(scm_system_star): Use scm_from_int on SIGINT and SIGQUIT,
since that's what those values are.
This commit is contained in:
parent
9bebea882a
commit
f070ba1332
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ SCM_DEFINE (scm_system_star, "system*", 0, 0, 1,
|
|||
|
||||
/* make sure the child can't kill us (as per normal system call) */
|
||||
sig_ign = scm_from_long ((unsigned long) SIG_IGN);
|
||||
sigint = scm_from_long (SIGINT);
|
||||
sigquit = scm_from_long (SIGQUIT);
|
||||
sigint = scm_from_int (SIGINT);
|
||||
sigquit = scm_from_int (SIGQUIT);
|
||||
oldint = scm_sigaction (sigint, sig_ign, SCM_UNDEFINED);
|
||||
oldquit = scm_sigaction (sigquit, sig_ign, SCM_UNDEFINED);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue