diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-05-14 12:27:19 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-05-14 12:27:19 +0000 |
commit | 9c8d215a6f7e1098759dbf707ed95f4895bc227c (patch) | |
tree | 312ab048db07d7fbf6d1659e9a2b1a892a1705f0 /t/TEST | |
parent | 8d0d504096dac80115e0133d173ed8b2b603e2ee (diff) | |
download | perl-9c8d215a6f7e1098759dbf707ed95f4895bc227c.tar.gz |
TEST needs to binmode the file handle that is reading the TAP, else it
can get killed if TEST's environment has made it default all opens to
UTF-8 but the TAP is not UTF-8.
p4raw-id: //depot/perl@28192
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -406,6 +406,11 @@ EOT open(RESULTS, $compile_cmd) or print "can't compile '$compile_cmd': $!.\n"; } + # Our environment may force us to use UTF-8, but we can't be sure that + # anything we're reading from will be generating (well formed) UTF-8 + # This may not be the best way - possibly we should unset ${^OPEN} up + # top? + binmode RESULTS; my $failure; my $next = 0; |