fix: sigchld-handler takes key parameter process

This commit is contained in:
Daniel Kochmański 2017-03-21 18:33:56 +01:00
parent 135a43a027
commit d2f760970f
2 changed files with 3 additions and 1 deletions

View file

@ -71,6 +71,7 @@ const char *ecl_self;
static int ARGC;
static char **ARGV;
/* INV: see ecl_option enum in external.h */
cl_fixnum ecl_option_values[ECL_OPT_LIMIT+1] = {
#ifdef GBC_BOEHM_GENGC
1, /* ECL_OPT_INCREMENTAL_GC */

View file

@ -21,7 +21,8 @@
(mp:with-lock (*active-processes-lock*)
,@body)))
(defun sigchld-handler ()
(defun sigchld-handler (&key process)
(declare (ignore process))
(let (changed)
(with-active-processes-lock
(mapc (lambda (process)