git: kernel - More pty fixes

看板DFBSD_commit作者時間15年前 (2010/09/05 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f5f1bbd4a15e29ccf3c5baafe1eaf2a25f660e03 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Sep 4 21:27:08 2010 -0700 kernel - More pty fixes * Allow the pts to be closed and reopened while the ptc is held open (xterm issues a revoke + open). This fixes xterm. * Add a flag to differentiate between a slave not yet initially opened and a slave which has been closed, so ptc reads and the kqfilter can properly return EOF (tmux). * Remove pt_flags2 and fold its flags into pt_flags. * Create a shim to track ttyunhold()'s for session releases and release the underlying pts (for screen). Reported-by: josepht (xterm issue) Summary of changes: sys/kern/tty.c | 5 ++- sys/kern/tty_pty.c | 107 ++++++++++++++++++++++++++++++++++----------------- sys/sys/tty.h | 1 + 3 files changed, 76 insertions(+), 37 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5f1bbd4a15e29ccf3c5baafe1eaf2a25f660e03 -- DragonFly BSD source repository
文章代碼(AID): #1CWnr5zK (DFBSD_commit)