[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>
This commit is contained in:
@@ -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>
|
2002-01-18 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
* [w3m-dev 02870] don't kill migemo by SIGINT
|
* [w3m-dev 02870] don't kill migemo by SIGINT
|
||||||
@@ -2121,4 +2126,4 @@
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-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 $
|
||||||
|
5
search.c
5
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 "fm.h"
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -51,6 +51,9 @@ open_migemo(char *migemo_command)
|
|||||||
if (migemo_pid == 0) {
|
if (migemo_pid == 0) {
|
||||||
/* child */
|
/* child */
|
||||||
signal(SIGINT, SIG_IGN);
|
signal(SIGINT, SIG_IGN);
|
||||||
|
#ifdef SIGCHLD
|
||||||
|
signal(SIGCHLD, SIG_IGN);
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SETPGRP
|
#ifdef HAVE_SETPGRP
|
||||||
setpgrp();
|
setpgrp();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user