diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-12-03 23:55:47 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-12-03 23:55:47 +0000 |
commit | 09f3e4ad5fbfa8556f4977e3b230a352b869cd28 (patch) | |
tree | cea994b60bd7be56ad206509033e5c71fee0d643 | |
parent | 07e51a1fab07d22a7e5f271ffe3730d21435bf2b (diff) |
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!
-rw-r--r-- | app/cwm/calmwm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/cwm/calmwm.c b/app/cwm/calmwm.c index b0397e0a9..118829bd7 100644 --- a/app/cwm/calmwm.c +++ b/app/cwm/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"); |