From 2b1f1d404d206d07a122d0754e233819cf9860a3 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 3 Dec 2008 23:55:46 +0000 Subject: Don't ignore sigpipe. Everytime cwm forks it execs anyway (so it shouldn't get that signal), and this causes problems for our children since they inherit the ignore. Pointed out by Jacek Masiulani in pr 6010; thanks! --- calmwm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'calmwm.c') diff --git a/calmwm.c b/calmwm.c index b0397e0..118829b 100644 --- a/calmwm.c +++ b/calmwm.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.c,v 1.30 2008/09/29 23:16:46 oga Exp $ + * $Id: calmwm.c,v 1.31 2008/12/03 23:55:46 oga Exp $ */ #include "headers.h" @@ -70,10 +70,6 @@ main(int argc, char **argv) argc -= optind; argv += optind; - /* Ignore a few signals. */ - if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) - err(1, "signal"); - if (signal(SIGCHLD, _sigchld_cb) == SIG_ERR) err(1, "signal"); -- cgit v1.2.3-2-gb3c3