aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2008-12-03 23:55:46 +0000
committeroga2008-12-03 23:55:46 +0000
commit2b1f1d404d206d07a122d0754e233819cf9860a3 (patch)
tree48e2865b20bdc0697bbd60e67a54d2c0ca65217a
parenta45b63cfb2ae8afa0152a8e8ebc59e605cf09713 (diff)
downloadcwm-2b1f1d404d206d07a122d0754e233819cf9860a3.tar.gz
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!
Diffstat (limited to '')
-rw-r--r--calmwm.c6
1 files changed, 1 insertions, 5 deletions
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");