$OpenBSD: patch-src_signals_c,v 1.1.1.1 2009/08/09 21:49:33 landry Exp $ --- src/signals.c.orig Wed Jun 4 16:48:31 2008 +++ src/signals.c Sat Aug 8 16:02:07 2009 @@ -37,7 +37,9 @@ #include"config.h" #include"ui.h" +volatile sig_atomic_t sigchld_received = 0; + /* Handle term resizing in X */ static void received_sigwinch(void) @@ -69,12 +71,15 @@ received_sigtstp(void) static void received_sigchld(void) { + sigchld_received = 1; +#if 0 int status; pid_t pid; /* This needs to be a loop in case of multiple blocked signals. */ while ((pid = waitpid(-1, &status, WNOHANG)) > 0) add_finished_job(pid, status); +#endif } static void