projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
df16a33
)
Apparently this is needed for VMS (Craig Berry).
Jarkko Hietaniemi [Thu, 19 Jun 2003 20:18:31 +0000 (20:18 +0000)]
p4raw-id: //depot/perl@19827
lib/Tie/File.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Tie/File.pm
b/lib/Tie/File.pm
index
2539324
..
a1f40af
100644
(file)
--- a/
lib/Tie/File.pm
+++ b/
lib/Tie/File.pm
@@
-727,6
+727,7
@@
sub _downcopy {
last if $writable eq "";
$self->_seekb($pos);
$self->_write_record($writable);
+ last if $last_read_was_short && $data eq "";
$len -= $readsize if defined $len;
$pos += $readsize;
}