commit 5e9b9ec5464f1080fa2e6089abfec3cc12ee4c48
parent 638a2df0d44a76a4c19d21ab32f92924db1a7a40
Author: ukai <ukai>
Date: Thu, 17 Jan 2002 15:49:04 +0000
[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:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/search.c b/search.c
@@ -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