aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-10 16:42:14 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-10 16:42:14 +0000
commit66d04cc1619b037bff177acdffbbe52fbdaaa4b3 (patch)
treeb4c200409e18e49c21b126f02121cef3bc67a85a /image.c
parent[w3m-dev 03628] Re: Error occured while reset (diff)
downloadw3m-66d04cc1619b037bff177acdffbbe52fbdaaa4b3.tar.gz
w3m-66d04cc1619b037bff177acdffbbe52fbdaaa4b3.zip
[w3m-dev 03629] delete tmp file
* etc.c (tempfname): always file to delete * file.c (xface2xpm): no need fileToDelete (readHeader): ditto (loadGeneralFile): ditto (loadHTMLBuffer): ditto (loadHTMLString): ditto (loadGopherDir): ditto (loadImageBuffer): ditto (doExternal): rewrite (doFileSave): no need fileToDelete (uncompress_stream): ditto * fm.h (CurrentPid): added * image.c (getImage): cache->touch to delete * local.c (setLocalCookie): use CurrentPid (localcgi_post): fileToDelete * main.c (main): CurrentPid (pipeBuf): no need fileToDelete (query_from_followform): CurrentPid (vmSrc): no need fileToDelete From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--image.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/image.c b/image.c
index 1f686a8..70b90c9 100644
--- a/image.c
+++ b/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.23 2002/12/11 15:08:47 ukai Exp $ */
+/* $Id: image.c,v 1.24 2003/01/10 16:42:46 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
@@ -518,8 +518,6 @@ getImage(Image * image, ParsedURL *current, int flag)
cache->width = image->width;
cache->height = image->height;
putHash_sv(image_hash, key->ptr, (void *)cache);
- pushText(fileToDelete, cache->file);
- pushText(fileToDelete, cache->touch);
}
if (flag != IMG_FLAG_SKIP) {
if (cache->loaded == IMG_FLAG_UNLOADED) {