forked from DragonFlyBSD/DragonFlyBSD
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@giovannangeli.fr> Taken-from: FreeBSD
- Loading branch information
Sascha Wildner
committed
Mar 29, 2013
1 parent
472c99c
commit 8c2d08b
Showing
1 changed file
with
37 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters