use fclose() on fdopen()'ed file streams instead of pclose()
from TAKAHASHI Tamotsu in ports/5010
This commit is contained in:
parent
10ae91334b
commit
7f44ebf8ab
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.59 2005/02/22 10:23:39 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.60 2006/02/10 18:54:58 sturm Exp $
|
||||
|
||||
COMMENT= "pager/text-based web browser"
|
||||
|
||||
DISTNAME= w3m-0.5.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= www
|
||||
HOMEPAGE= http://w3m.sourceforge.net/
|
||||
|
||||
|
12
www/w3m/patches/patch-file_c
Normal file
12
www/w3m/patches/patch-file_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-file_c,v 1.3 2006/02/10 18:54:58 sturm Exp $
|
||||
--- file.c.orig Thu Feb 9 21:04:17 2006
|
||||
+++ file.c Thu Feb 9 21:04:30 2006
|
||||
@@ -7891,7 +7891,7 @@ uncompress_stream(URLFile *uf, char **sr
|
||||
uf->scheme = SCM_LOCAL;
|
||||
}
|
||||
UFhalfclose(uf);
|
||||
- uf->stream = newFileStream(f1, (void (*)())pclose);
|
||||
+ uf->stream = newFileStream(f1, (void (*)())fclose);
|
||||
}
|
||||
|
||||
static FILE *
|
Loading…
x
Reference in New Issue
Block a user