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

git: ttyslot(3) - Update for unix98 ptys


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Sep 2009 01:21:54 -0700 (PDT)

commit bd476febe7d2b2f4a2c325c6f55b7ab980073776
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Sep 2 09:12:58 2009 +0100

    ttyslot(3) - Update for unix98 ptys
    
    * Update ttyslot(3) to be compatible with unix98 ptys. This fixes
      problems with logins on unix98 ptys not appearing in utmp.
    
    * ttyslot was calling rindex, which is invalid for unix98 pty files,
      so now we just strip "/dev/".
    
    Obtained-from: FreeBSD

Summary of changes:
 lib/libc/gen/ttyslot.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bd476febe7d2b2f4a2c325c6f55b7ab980073776


-- 
DragonFly BSD source repository



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