This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
-t should only return TRUE for file handles connected to a TTY
authorJan Dubois <jand@activestate.com>
Wed, 16 Dec 2009 23:42:19 +0000 (15:42 -0800)
committerJan Dubois <jand@activestate.com>
Wed, 16 Dec 2009 23:46:34 +0000 (15:46 -0800)
commit827da6a38269ebe059fe8acab0772f00c88704bf
tree1154337fa550b5fff0eeeb4acddadd19da36d8c5
parentab106183f6f6440236f5be52e2a171a63882946a
-t should only return TRUE for file handles connected to a TTY

The Microsoft C version of isatty() returns TRUE for all
character mode devices, including the /dev/null style "nul"
device and printers like "lpt1".

The included test has only been tested on Windows and Linux;
the device names for OS/2 and VMS are just best guesses...
MANIFEST
t/op/filetest_t.t [new file with mode: 0755]
win32/perlhost.h