aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-17 15:49:04 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-17 15:49:04 +0000
commit7bfdf1553b1526fd323f3d472317c73dec7e795e (patch)
tree7033353fc9498a4c8867b3b5a07dc71e9d6bf0f4 /search.c
parent[w3m-dev 02870] don't kill migemo by SIGINT (diff)
downloadw3m-7bfdf1553b1526fd323f3d472317c73dec7e795e.tar.gz
w3m-7bfdf1553b1526fd323f3d472317c73dec7e795e.zip
[w3m-dev 02871] ignore SIGCHLD (for at least EWS4800)
* search.c (open_migemo): signal(SIGCHLD, SIG_IGN); From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--search.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/search.c b/search.c
index 09cedac..fc18148 100644
--- a/search.c
+++ b/search.c
@@ -1,4 +1,4 @@
-/* $Id: search.c,v 1.15 2002/01/17 15:05:43 ukai Exp $ */
+/* $Id: search.c,v 1.16 2002/01/17 15:49:04 ukai Exp $ */
#include "fm.h"
#include "regex.h"
#include <signal.h>
@@ -51,6 +51,9 @@ open_migemo(char *migemo_command)
if (migemo_pid == 0) {
/* child */
signal(SIGINT, SIG_IGN);
+#ifdef SIGCHLD
+ signal(SIGCHLD, SIG_IGN);
+#endif
#ifdef HAVE_SETPGRP
setpgrp();
#endif