diff options
author | ed <ed@FreeBSD.org> | 2009-02-19 17:54:42 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-19 17:54:42 +0000 |
commit | 092e75386105220cc020aa2239e745cf6a395a20 (patch) | |
tree | c38a0414609d397eb0702d2574267121b062b5c6 /lib/libc/stdlib/realpath.c | |
parent | c5cc4a3059f8ca282c58143b3c9e016810b0005d (diff) | |
download | FreeBSD-src-092e75386105220cc020aa2239e745cf6a395a20.zip FreeBSD-src-092e75386105220cc020aa2239e745cf6a395a20.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions