aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 03:33:28 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 03:33:28 +0000
commit7c329d0c052b18133077ce40088e82cfd610914f (patch)
treedb9daaa25e33ae115152e7e2587f70a13151eaa4
parent[w3m-dev 02414] stable SIGINT handling in HTMLlineproc0() (diff)
downloadw3m-7c329d0c052b18133077ce40088e82cfd610914f.tar.gz
w3m-7c329d0c052b18133077ce40088e82cfd610914f.zip
[w3m-dev 02415] clean up temporary files
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to '')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index 27e3bf6..50900c0 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.4 2001/11/16 03:32:18 ukai Exp $ */
+/* $Id: file.c,v 1.5 2001/11/16 03:33:28 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -4594,6 +4594,7 @@ loadHTMLBuffer(URLFile * f, Buffer * newBuf)
if (newBuf->sourcefile == NULL &&
(f->scheme != SCM_LOCAL || newBuf->mailcap)) {
tmp = tmpfname(TMPF_SRC, ".html");
+ pushText(fileToDelete, tmp->ptr);
src = fopen(tmp->ptr, "w");
if (src)
newBuf->sourcefile = tmp->ptr;