aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'search.c')
-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