aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-22 19:24:54 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-22 19:24:54 +0000
commit66c42abeea9ec52a8f9045fd817bd01354e2ccd7 (patch)
tree042d323abbbd8688c1aea9a7703fea3b580886e4
parentfix indent (diff)
downloadw3m-66c42abeea9ec52a8f9045fd817bd01354e2ccd7.tar.gz
w3m-66c42abeea9ec52a8f9045fd817bd01354e2ccd7.zip
[w3m-dev 03466] Re: background download when external viewer
* file.c (doExternal): UFclose(&uf); From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d54c0c..05ea7dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03466] Re: background download when external viewer
+ * file.c (doExternal): UFclose(&uf);
+
+2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03464] Re: case insensitive regexp search
(rewrite [w3m-dev 03462] by Hiroyuki Ito <hito@crl.go.jp>)
* regex.c (matchWhich): add int
@@ -5049,4 +5054,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.549 2002/11/22 15:56:43 ukai Exp $
+$Id: ChangeLog,v 1.550 2002/11/22 19:24:54 ukai Exp $
diff --git a/file.c b/file.c
index bf18520..a1080ad 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.125 2002/11/22 15:57:29 ukai Exp $ */
+/* $Id: file.c,v 1.126 2002/11/22 19:24:54 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7118,6 +7118,7 @@ doExternal(URLFile uf, char *path, char *type, Buffer **bufp,
fmInitialized = FALSE;
if (save2tmp(uf, tmpf->ptr) < 0)
exit(1);
+ UFclose(&uf);
myExec(command->ptr);
}
*bufp = NO_BUFFER;
@@ -7128,6 +7129,7 @@ doExternal(URLFile uf, char *path, char *type, Buffer **bufp,
{
if (save2tmp(uf, tmpf->ptr) < 0)
return 0; /* ??? */
+ UFclose(&uf);
}
if (mcap->flags & (MAILCAP_HTMLOUTPUT | MAILCAP_COPIOUSOUTPUT)) {
if (defaultbuf == NULL)