From 7c329d0c052b18133077ce40088e82cfd610914f Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 16 Nov 2001 03:33:28 +0000 Subject: [w3m-dev 02415] clean up temporary files From: Tsutomu Okada --- file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'file.c') 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 #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; -- cgit v1.2.3