View | Details | Raw Unified | Return to bug 235445
Collapse All | Expand All

(-)editors/nvi-devel/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	nvi
4
PORTNAME=	nvi
5
PORTVERSION=	1.81.6
5
PORTVERSION=	1.81.6
6
PORTREVISION=	10
6
PORTREVISION=	11
7
CATEGORIES=	editors
7
CATEGORIES=	editors
8
MASTER_SITES=	ftp://ftp.stack.nl/pub/users/johans/nvi/
8
MASTER_SITES=	ftp://ftp.stack.nl/pub/users/johans/nvi/
9
9
(-)editors/nvi-devel/files/patch-common_exf.c (+11 lines)
Line 0 Link Here
1
--- ../common/exf.c.orig	2007-11-18 16:41:42 UTC
2
+++ ../common/exf.c
3
@@ -392,7 +392,7 @@ postinit:
4
 	 * an error.
5
 	 */
6
 	if (rcv_name == NULL && ep->refcnt == 0) {
7
-		if ((ep->fd = open(oname, O_RDWR)) == -1)
8
+		if ((ep->fd = open(oname, O_RDONLY)) == -1)
9
 		    goto no_lock;
10
 
11
 		switch (file_lock(sp, oname, &ep->fcntl_fd, ep->fd, 1)) {

Return to bug 235445