This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RT#113960: perl5db should ignore /dev/tty on non-Unix systems
authorJames E Keenan <jkeenan@cpan.org>
Wed, 4 Jan 2017 18:17:19 +0000 (18:17 +0000)
committerAaron Crane <arc@cpan.org>
Wed, 4 Jan 2017 18:17:19 +0000 (18:17 +0000)
commitf1cba94566d20fce5f608ead96b2febbbf4e1cda
tree4f39ef0d6a4c5e1716036c1ed36b3b71b12d2279
parent8235b1c2e77c454865e73bc098b667c3d9aa58a7
RT#113960: perl5db should ignore /dev/tty on non-Unix systems

If a Win32 system happens to have a \dev\tty file at the root of the current
drive, we were incorrectly treating that as an indicator that the system is
in fact Unix-like.

Fix this by looking at the filesystem for that file only after considering
all the OS platforms that we know aren't Unix-like in that way.
lib/perl5db.pl