From c35a9bf510ec13490cc930dceda5ca256f94ff7a Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Sat, 18 Feb 2006 16:58:04 +0000 Subject: Close pipe for gzipped stream properly. Obtained from: http://vimrc.hp.infoseek.co.jp/w3m-pclose.html (written in Japanese) Reported by: naddy --- www/w3m/files/patch-file.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'www/w3m/files/patch-file.c') diff --git a/www/w3m/files/patch-file.c b/www/w3m/files/patch-file.c index 957e32f09c93..07868a248356 100644 --- a/www/w3m/files/patch-file.c +++ b/www/w3m/files/patch-file.c @@ -1,5 +1,5 @@ ---- file.c Sun Oct 9 22:12:16 2005 -+++ file.c Sun Oct 9 22:11:10 2005 +--- file.c.orig Sun Feb 19 01:37:44 2006 ++++ file.c Sun Feb 19 01:39:59 2006 @@ -262,7 +262,8 @@ { return (type == NULL || type[0] == '\0' || @@ -10,3 +10,12 @@ } static int +@@ -7891,7 +7892,7 @@ + uf->scheme = SCM_LOCAL; + } + UFhalfclose(uf); +- uf->stream = newFileStream(f1, (void (*)())pclose); ++ uf->stream = newFileStream(f1, (void (*)())fclose); + } + + static FILE * -- cgit v1.2.3