[w3m-dev 02879] reset signals
* etc.c (reset_signals): added * etc.c (mySystem): use reset_signals() * file.c (uncompress_stream): use reset_signals() * proto.h (reset_signals): added * search.c (init_migemo): kill by SIGKILL * search.c (open_migemo): use reset_signals() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
4
file.c
4
file.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: file.c,v 1.44 2002/01/15 03:45:02 ukai Exp $ */
|
||||
/* $Id: file.c,v 1.45 2002/01/21 17:57:28 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include <sys/types.h>
|
||||
#include "myctype.h"
|
||||
@@ -6149,7 +6149,7 @@ uncompress_stream(URLFile *uf)
|
||||
flush_tty();
|
||||
/* fd1[0]: read, fd1[1]: write */
|
||||
if ((pid1 = fork()) == 0) {
|
||||
signal(SIGINT, SIG_DFL);
|
||||
reset_signals();
|
||||
close(fd1[0]);
|
||||
if (tmpf) {
|
||||
#ifdef USE_BINMODE_STREAM
|
||||
|
Reference in New Issue
Block a user