aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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