Date: Thu, 19 Feb 2009 17:54:42 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200902191754.n1JHsng4095518@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-02-19 17:54:42 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pts.c
Log:
SVN rev 188822 on 2009-02-19 17:54:42Z by ed
Squash some small bugs in pts(4).
- Don't return a negative errno when using an unknown ioctl() on a
pseudo-terminal master device. Be sure to convert ENOIOCTL to ENOTTY,
just like the TTY layer does.
- Even though we should return st_rdev of the master device node when
emulating pty(4) devices, FIODGNAME should still return the name of
the slave device. Otherwise ptsname(3) and ttyname(3) return an
invalid device name.
Revision Changes Path
1.28 +3 -6 src/sys/kern/tty_pts.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902191754.n1JHsng4095518>
