git: ttyslot(3) - Update for unix98 ptys

看板DFBSD_commit作者時間16年前 (2009/09/02 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AdYsA8p (DFBSD_commit)