pkgsrc/devel/p5-IO-Tty
heinz d75baa6296 IO::Tty was broken on NetBSD >= 3.0.
patch-ab is only an unintrusive short-term fix, discussion with the authors
how to fix it correctly has started.

NetBSD >= 3.0 supports grantpt() but it invalidates the slave
FD (see grantpt(3) on NetBSD) obtained through openpty() so we discard
the (now invalid) descriptor for the slave tty. This causes Tty.xs to open
the slave tty again.

The issue should be really fixed by using posix_openpt() instead of
openpty(). The functions posix_openpt(), grantpt(), unlockpt()
and ptsname() belong together and should be used ahead of
all the other ways to create the master and slave tty, not just
on NetBSD. See also
http://www.opengroup.org/onlinepubs/009695399/functions/posix_openpt.html
2006-02-19 01:28:53 +00:00
..
patches IO::Tty was broken on NetBSD >= 3.0. 2006-02-19 01:28:53 +00:00
DESCR
distinfo IO::Tty was broken on NetBSD >= 3.0. 2006-02-19 01:28:53 +00:00
Makefile IO::Tty was broken on NetBSD >= 3.0. 2006-02-19 01:28:53 +00:00
PLIST