This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Term::ReadLine generates empty &STDERR files
authorJames E Keenan <jkeenan@cpan.org>
Fri, 1 Sep 2017 02:57:06 +0000 (22:57 -0400)
committerTony Cook <tony@develop-help.com>
Mon, 18 Sep 2017 05:01:28 +0000 (15:01 +1000)
commitd8b61909479178ddb668ad385988877d26f202f2
tree901becf42bfb00d4c6daa61a8c686c2af70b1955
parent269a3b2e76d9e7b398d9faa62b30dc6d93dd9476
Term::ReadLine generates empty &STDERR files

Revert to 2-arg open in one case.

If /dev/tty is inaccessible, redirecting file handles to STDERR:

       open (my $fh, ">&STDERR))

... cannot be done as a 3 arg open or it'll actually try to write to that
file.

Bump $Term::ReadLine::VERSION.
Add unit test for RT #132008

For: RT #132008
(cherry picked from commit e4dc68d725b19f46c6fca9423e6e7a0eaeff47f4)
Signed-off-by: Nicolas R <atoomic@cpan.org>
xx
MANIFEST
dist/Term-ReadLine/lib/Term/ReadLine.pm
dist/Term-ReadLine/t/ReadLine-STDERR.t [new file with mode: 0644]