This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change POSIX::Termios::setattr() to default to TCASNOW, not 0.
authorNicholas Clark <nick@ccl4.org>
Mon, 12 Sep 2011 12:11:05 +0000 (14:11 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2011 09:28:13 +0000 (11:28 +0200)
commit518487b2c053f6cda225b7351e06d211e0f3687b
treecdb76f8d4ddad83402fdaf65e71a42f5c3137455
parentec1c82dff1a02837730cd85ca14c9f97f74eb3cf
Change POSIX::Termios::setattr() to default to TCASNOW, not 0.

0 isn't valid on all operating systems. TCASNOW has the value 0 on most
operating systems, but on Solaris (at least) TCASNOW, TCSADRAIN and
TCSAFLUSH have the same values as the equivalent ioctls, TCSETS, TCSETSW and
TCSETSF. Solaris faults 0, setting errno to EINVAL. This isn't useful as a
default behaviour.
ext/POSIX/POSIX.xs
pod/perldelta.pod