FreeBSD Bugzilla – Attachment 201664 Details for
Bug 235445
[PATCH] editors/nvi-devel: Avoid "Text file busy" error when editing a script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.txt (text/plain), 1.31 KB, created by
Craig Leres
on 2019-02-03 00:53:15 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2019-02-03 00:53:15 UTC
Size:
1.31 KB
patch
obsolete
>Index: editors/nvi-devel/Makefile >=================================================================== >--- editors/nvi-devel/Makefile (revision 491921) >+++ editors/nvi-devel/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= nvi > PORTVERSION= 1.81.6 >-PORTREVISION= 10 >+PORTREVISION= 11 > CATEGORIES= editors > MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/nvi/ > >Index: editors/nvi-devel/files/patch-common_exf.c >=================================================================== >--- editors/nvi-devel/files/patch-common_exf.c (nonexistent) >+++ editors/nvi-devel/files/patch-common_exf.c (working copy) >@@ -0,0 +1,11 @@ >+--- ../common/exf.c.orig 2007-11-18 16:41:42 UTC >++++ ../common/exf.c >+@@ -392,7 +392,7 @@ postinit: >+ * an error. >+ */ >+ if (rcv_name == NULL && ep->refcnt == 0) { >+- if ((ep->fd = open(oname, O_RDWR)) == -1) >++ if ((ep->fd = open(oname, O_RDONLY)) == -1) >+ goto no_lock; >+ >+ switch (file_lock(sp, oname, &ep->fcntl_fd, ep->fd, 1)) { > >Property changes on: editors/nvi-devel/files/patch-common_exf.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
leres
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 235445
: 201664