projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa09554
)
Win32 tweak
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Mon, 4 Mar 2002 16:19:06 +0000
(16:19 +0000)
committer
Nick Ing-Simmons
<nik@tiuk.ti.com>
Mon, 4 Mar 2002 16:19:06 +0000
(16:19 +0000)
p4raw-id: //depot/perlio@15002
lib/Tie/File/t/16_handle.t
patch
|
blob
|
history
diff --git
a/lib/Tie/File/t/16_handle.t
b/lib/Tie/File/t/16_handle.t
index
a438612
..
5ff3c82
100644
(file)
--- a/
lib/Tie/File/t/16_handle.t
+++ b/
lib/Tie/File/t/16_handle.t
@@
-14,6
+14,7
@@
print "ok $N\n"; $N++;
use Fcntl 'O_CREAT', 'O_RDWR';
sysopen F, $file, O_CREAT | O_RDWR
or die "Couldn't create temp file $file: $!; aborting";
+binmode(F);
my $o = tie @a, 'Tie::File', \*F;
print $o ? "ok $N\n" : "not ok $N\n";
@@
-82,7
+83,7
@@
untie @a;
if ($@ && $@ =~ /filehandle does not appear to be seekable/) {
print "ok $N\n";
} else {
- print "not ok $N\n";
+ print "not ok $N
# $@
\n";
}
$N++;
}