summaryrefslogtreecommitdiff
path: root/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-11-06 22:56:39 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-11-06 23:49:04 +0000
commitad4795e78e923065898354b946437030aaeca163 (patch)
tree7ba5c1b856e45166575626fbef0c4a23026600c0 /cpan/IO-Compress/lib/IO/Uncompress/Base.pm
parent00d0325cf674c5cfc5ea2c9eb9917de7a8265763 (diff)
downloadperl-ad4795e78e923065898354b946437030aaeca163.tar.gz
Update IO-Compress to CPAN version 2.040
[DELTA] 2.040 28 October 2011 * t/105oneshot-zip-only.t - CanonicalName test failure on Windows [RT# 68926] * IO::Compress::Zip - ExtAttr now populates MSDOS attributes 2.039 28 October 2011 * IO::Compress::Zip - Added CanonicalName option. Note this option is set to true by default. - Added FilterName option * IO::Unompress::Base - Fixed issue where setting $\ would corrupt the uncompressed data. Thanks to Steffen Goeldner for reporting the issue. * t/050interop-*.t - Handle case when external command contains a whitespace RT #71335
Diffstat (limited to 'cpan/IO-Compress/lib/IO/Uncompress/Base.pm')
-rw-r--r--cpan/IO-Compress/lib/IO/Uncompress/Base.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
index 7d0747796a..7be469fa2c 100644
--- a/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
+++ b/cpan/IO-Compress/lib/IO/Uncompress/Base.pm
@@ -9,12 +9,12 @@ our (@ISA, $VERSION, @EXPORT_OK, %EXPORT_TAGS);
@ISA = qw(Exporter IO::File);
-$VERSION = '2.037';
+$VERSION = '2.040';
use constant G_EOF => 0 ;
use constant G_ERR => -1 ;
-use IO::Compress::Base::Common 2.037 ;
+use IO::Compress::Base::Common 2.040 ;
use IO::File ;
use Symbol;
@@ -730,7 +730,7 @@ sub _rd2
while (($status = $z->read($x->{buff})) > 0) {
if ($fh) {
- print $fh ${ $x->{buff} }
+ syswrite $fh, ${ $x->{buff} }
or return $z->saveErrorString(undef, "Error writing to output file: $!", $!);
${ $x->{buff} } = '' ;
}