$NetBSD: patch-ai,v 1.18 2009/06/05 16:08:25 drochner Exp $ http://bugzilla.gnome.org/show_bug.cgi?id=583321 --- glib/gmain.c.orig 2009-05-29 07:18:56.000000000 +0200 +++ glib/gmain.c @@ -3713,7 +3713,11 @@ g_child_watch_source_init_multi_threaded action.sa_handler = g_child_watch_signal_handler; sigemptyset (&action.sa_mask); +#ifdef SA_RESTART action.sa_flags = SA_RESTART | SA_NOCLDSTOP; +#else /* QNX */ + action.sa_flags = SA_NOCLDSTOP; +#endif sigaction (SIGCHLD, &action, NULL); }