openexr: make architecture independent
[oi-userland.git] / components / library / glib / patches / 27-signal-handler-reset.patch
blob1cb9c03f782a560f528281e0f20ab97079a2ba2e
1 diff --git a/glib/tests/mapping.c b/glib/tests/mapping.c
2 index 96544b1..b97fbab 100644
3 --- a/glib/tests/mapping.c
4 +++ b/glib/tests/mapping.c
5 @@ -38,6 +38,10 @@ static char **local_argv;
6 static void
7 handle_usr1 (int signum)
9 + /* On illumos the signal disposition is reset to SIG_DFL so we need to set
10 + * signal handler again ASAP. */
11 + signal (SIGUSR1, handle_usr1);
13 stop = TRUE;