DragonFly BSD
DragonFly commits List (threaded) for 2013-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_2 lock(1): Do not require 'options COMPAT_43' in the kernel config.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Mar 2013 03:04:32 -0700 (PDT)

commit 62ec68fd8569163c36e641685172b6fef0fa731a
Author: Sascha Wildner <saw@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@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/62ec68fd8569163c36e641685172b6fef0fa731a


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]