commit 6e947fa389c51ec438ee4e4d18122bbfb69300e6
parent fa787e9e83fa96bc5fdf3e6e30e3ab2d60fb77e6
Author: ukai <ukai>
Date: Mon, 2 Dec 2002 17:48:56 +0000
[w3m-dev 03504] coredump when ssl error
* file.c (loadGeneralFile): term_raw, SIGINT
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
Diffstat:
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/file.c b/file.c
@@ -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;
}