Module Name: src Committed By: dyoung Date: Tue Nov 16 23:58:12 UTC 2010
Modified Files: src/sys/kern: tty_pty.c Log Message: Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from sending a termios(4) structure like it was supposed to: ptcread() used to copy pti->pt_send and zero it before testing it for TIOCPKT_IOCTL. Test for TIOCPKT_IOCTL in the pti->pt_send copy in local variable c instead of in pti->pt_send itself. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/kern/tty_pty.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.