diff options
author | Craig Leres <leres@FreeBSD.org> | 2019-03-21 17:12:16 +0000 |
---|---|---|
committer | Craig Leres <leres@FreeBSD.org> | 2019-03-21 17:12:16 +0000 |
commit | c8ced0504ae7f2cea01cd2374fc9f2b9e1a49c22 (patch) | |
tree | 5b0790380cb992454fbfabffdbc66f888fac5875 /java/eclipse-findbugs | |
parent | sysutils/tree: update to 1.8.0 (diff) |
Unlike the base vi (nvi 2.1.3), nvi-devel calls flock() on a writable
file descriptor. This has the unfortunately side effect of causing
the "Text file busy" error when you edit a script in one window and
try to run it in another.
The fix is to change the initial open() just prior to calling
file_lock() in file_init() to use O_RDONLY instead of O_RDWR. This
does not impact nvi's ability to write files, nvi creates a new
file when writing.
PR: 235445
Approved by: johans (maintainer timeout, 6 weeks), ler (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=496474
Diffstat (limited to 'java/eclipse-findbugs')
0 files changed, 0 insertions, 0 deletions