diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-14 20:23:57 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-14 20:23:57 +0000 |
commit | 856819cc8cd3e47cca9f0eb6a63a5203d17b3bfd (patch) | |
tree | 69c1ac9205dd748a59b2aa3066d19ee33f5ca3e4 /usr.bin/vi/build | |
parent | 2b917a9c98ca823bee8ac280df735bb6424ed3e1 (diff) |
from natano:
The vi editor contains code for two different file locking methods -
one using flock(), the other using fcntl(). The fcntl method is unused
and has severe limitations (as described in a code comment). Let's
remove it for sake of readibility.
Diffstat (limited to 'usr.bin/vi/build')
-rw-r--r-- | usr.bin/vi/build/config.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/vi/build/config.h b/usr.bin/vi/build/config.h index 329397a213b..af10bb98d79 100644 --- a/usr.bin/vi/build/config.h +++ b/usr.bin/vi/build/config.h @@ -1,10 +1,4 @@ -/* $OpenBSD: config.h,v 1.11 2014/11/10 21:40:11 tedu Exp $ */ +/* $OpenBSD: config.h,v 1.12 2014/11/14 20:23:56 tedu Exp $ */ /* Define if you want a debugging version. */ /* #undef DEBUG */ - -/* Define if you have fcntl(2) style locking. */ -/* #undef HAVE_LOCK_FCNTL */ - -/* Define if you have flock(2) style locking. */ -#define HAVE_LOCK_FLOCK 1 |