commit 331fc05114db4c6684de6af86dd108d174919960
parent 964dcdb605ecf38ab45c712e6d40bc57d029a5bb
Author: inu <inu>
Date: Fri, 10 Feb 2006 12:52:23 +0000
replace pclose passed to localcgi_post/get() with fclose in openURL()
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-10 Dai Sato <satodai@w3m.jp>
+
+ * http://dog.w3m.jp/bbs/spool/until200602.html#20060210153135@keijiwan
+ * url.c: replace pclose passed to localcgi_post/get() with fclose in openURL()
+
2006-02-09 Dai Sato <satodai@w3m.jp>
* http://vimrc.hp.infoseek.co.jp/w3m-pclose.html
diff --git a/url.c b/url.c
@@ -1526,12 +1526,12 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
/* local CGI: POST */
uf.stream = newFileStream(localcgi_post(pu->real_file, pu->query,
request, option->referer),
- (void (*)())pclose);
+ (void (*)())fclose);
else
/* lodal CGI: GET */
uf.stream = newFileStream(localcgi_get(pu->real_file, pu->query,
option->referer),
- (void (*)())pclose);
+ (void (*)())fclose);
if (uf.stream) {
uf.is_cgi = TRUE;
uf.scheme = pu->scheme = SCM_LOCAL_CGI;