diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-21 17:57:27 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-21 17:57:27 +0000 |
commit | aae61245cf97484f0fa7758af342d29ad123b3e7 (patch) | |
tree | 41002f49445458b5b00a40a57dceed8c260d44ca /file.c | |
parent | url.c (URI_PATTERN): remove \ (diff) | |
download | w3m-aae61245cf97484f0fa7758af342d29ad123b3e7.tar.gz w3m-aae61245cf97484f0fa7758af342d29ad123b3e7.zip |
[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>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |