Date: Sun, 2 Aug 2009 14:25:26 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty_pts.c tty_ttydisc.c Message-ID: <200908021425.n72EPeck009477@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2009-08-02 14:25:26 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pts.c tty_ttydisc.c
Log:
SVN rev 196036 on 2009-08-02 14:25:26Z by ed
Fix two bugs related to TTY input:
- fix write() on pseudo-terminal masters to return the amount of bytes
passed to the TTY, not the amount of bytes read from user.
- fix ttydisc_rint_bypass() to set the high watermark when it cannot
write all input, just like ttydisc_rint() itself.
Approved by: re (kib)
Revision Changes Path
1.35 +9 -1 src/sys/kern/tty_pts.c
1.10 +2 -0 src/sys/kern/tty_ttydisc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908021425.n72EPeck009477>
