commit c7bb336c3f3f8c2383af47498bf272dacf300691
parent e2fc8b98bc68a992f0969af935630eef4ef81c0b
Author: ukai <ukai>
Date: Fri, 22 Nov 2002 19:24:54 +0000
[w3m-dev 03466] Re: background download when external viewer
* file.c (doExternal): UFclose(&uf);
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/file.c b/file.c
@@ -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)