diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-02 17:48:56 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-02 17:48:56 +0000 |
commit | f2770707c1da6e55050e06de5cbe85ea031f6502 (patch) | |
tree | f19bdf2534006fd225321e1d68e5ca4917b6d4ca | |
parent | remove ununsed variables (diff) | |
download | w3m-f2770707c1da6e55050e06de5cbe85ea031f6502.tar.gz w3m-f2770707c1da6e55050e06de5cbe85ea031f6502.zip |
[w3m-dev 03504] coredump when ssl error
* file.c (loadGeneralFile): term_raw, SIGINT
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | file.c | 6 |
2 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2002-12-03 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03504] coredump when ssl error + * file.c (loadGeneralFile): term_raw, SIGINT + 2002-12-03 Fumitoshi UKAI <ukai@debian.or.jp> * remove ununsed variables @@ -5293,4 +5298,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.573 2002/12/02 17:38:55 ukai Exp $ +$Id: ChangeLog,v 1.574 2002/12/02 17:48:56 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.137 2002/12/02 17:39:09 ukai Exp $ */ +/* $Id: file.c,v 1.138 2002/12/02 17:48:58 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -1585,6 +1585,10 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, } if (status == HTST_MISSING) { + if (fmInitialized) + term_raw(); + if (prevtrap) + signal(SIGINT, prevtrap); UFclose(&f); return NULL; } |