aboutsummaryrefslogtreecommitdiffstats
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
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--ChangeLog7
-rw-r--r--search.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bb0da43..6f51ef3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02871] ignore SIGCHLD (for at least EWS4800)
+ * search.c (open_migemo): signal(SIGCHLD, SIG_IGN);
+
2002-01-18 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02870] don't kill migemo by SIGINT
@@ -2121,4 +2126,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.240 2002/01/17 15:05:43 ukai Exp $
+$Id: ChangeLog,v 1.241 2002/01/17 15:49:04 ukai Exp $
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