aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-02 17:48:56 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-02 17:48:56 +0000
commitf2770707c1da6e55050e06de5cbe85ea031f6502 (patch)
treef19bdf2534006fd225321e1d68e5ca4917b6d4ca
parentremove ununsed variables (diff)
downloadw3m-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--ChangeLog7
-rw-r--r--file.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e9211c..864b131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/file.c b/file.c
index 2e398bf..dd23371 100644
--- a/file.c
+++ b/file.c
@@ -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;
}