1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Fix compile warning in posix.c

* libguile/posix.c (scm_system_star): Fix SIG_IGN usage to not emit a
  warning.  Still broken on Windows64 and similar systems though!
This commit is contained in:
Andy Wingo 2016-09-14 11:50:35 +02:00
parent d0e6e3fff8
commit f9620e01c3

View file

@ -1483,9 +1483,11 @@ SCM_DEFINE (scm_system_star, "system*", 0, 0, 1,
scm_dynwind_begin (0);
/* Make sure the child can't kill us (as per normal system call). */
scm_dynwind_sigaction (SIGINT, scm_from_ulong (SIG_IGN), SCM_UNDEFINED);
scm_dynwind_sigaction (SIGINT, scm_from_long ((long) SIG_IGN),
SCM_UNDEFINED);
#ifdef SIGQUIT
scm_dynwind_sigaction (SIGQUIT, scm_from_ulong (SIG_IGN), SCM_UNDEFINED);
scm_dynwind_sigaction (SIGQUIT, scm_from_long ((long) SIG_IGN),
SCM_UNDEFINED);
#endif
res = scm_open_process (scm_nullstr, prog, args);