diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 03:33:28 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 03:33:28 +0000 |
commit | 7c329d0c052b18133077ce40088e82cfd610914f (patch) | |
tree | db9daaa25e33ae115152e7e2587f70a13151eaa4 | |
parent | [w3m-dev 02414] stable SIGINT handling in HTMLlineproc0() (diff) | |
download | w3m-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |