git: lock(1): Do not require 'options COMPAT_43' in the kernel config.
Sascha Wildner
swildner at crater.dragonflybsd.org
Fri Mar 29 03:03:19 PDT 2013
commit 8c2d08b4efc399e492f2bdde40e30634ad7e094f
Author: Sascha Wildner <saw at online.de>
Date: Fri Mar 29 11:02:49 2013 +0100
lock(1): Do not require 'options COMPAT_43' in the kernel config.
We commented out COMPAT_43 in our configs some time ago, which broke
lock(1) that needed TIOCGETP and TIOCSETP ioctls which are only
available with COMPAT_43.
This commit converts lock(1) to use tcgetattr(3) and tcsetattr(3),
along with some minor cleanups.
Reported-by: noway on #dragonflybsd
Submitted-by: Joris Giovannangeli <joris at giovannangeli.fr>
Taken-from: FreeBSD
Summary of changes:
usr.bin/lock/lock.c | 70 ++++++++++++++++++++++++++++-------------------------
1 file changed, 37 insertions(+), 33 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c2d08b4efc399e492f2bdde40e30634ad7e094f
--
DragonFly BSD source repository
More information about the Commits
mailing list