--- glib-2.82.0/glib/tests/mapping.c.orig +++ glib-2.82.0/glib/tests/mapping.c @@ -39,6 +39,10 @@ static void handle_usr1 (int signum) { + /* On illumos the signal disposition is reset to SIG_DFL so we need to set + * signal handler again ASAP. */ + signal (SIGUSR1, handle_usr1); + stop = TRUE; }