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 /file.c | |
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>
Diffstat (limited to '')
-rw-r--r-- | file.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |