From a4c42bfb2337d37da89d789cb8cc226367994e32 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 21 May 2012 00:15:27 +0000 Subject: perl 5.14.2 from siep git-svn-id: svn://tug.org/texlive/trunk@26525 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlperl/lib/Compress/Raw/Bzip2.pm | 12 +++++++++--- Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm | 18 ++++++++++++++---- 2 files changed, 23 insertions(+), 7 deletions(-) (limited to 'Master/tlpkg/tlperl/lib/Compress/Raw') diff --git a/Master/tlpkg/tlperl/lib/Compress/Raw/Bzip2.pm b/Master/tlpkg/tlperl/lib/Compress/Raw/Bzip2.pm index 48f82073355..9aadba333b0 100644 --- a/Master/tlpkg/tlperl/lib/Compress/Raw/Bzip2.pm +++ b/Master/tlpkg/tlperl/lib/Compress/Raw/Bzip2.pm @@ -12,7 +12,7 @@ use Carp ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.024'; +$VERSION = '2.033'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -220,7 +220,7 @@ Returns C on success and a C error code on failure. =head1 Uncompression -=head2 ($z, $status) = new Compress::Raw::Bunzip2 $appendOutput, $consumeInput, $small, $limitOutput; +=head2 ($z, $status) = new Compress::Raw::Bunzip2 $appendOutput, $consumeInput, $small, $verbosity, $limitOutput; If successful, it will return the initialised uncompression object, C<$z> and a C<$status> of C in a list context. In scalar context it @@ -273,6 +273,12 @@ enabled. This option defaults to false. +=item B<$verbosity> + +This parameter is ignored. + +Defaults to 0. + =back =head2 $status = $z->bzinflate($input, $output); @@ -348,7 +354,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2010 Paul Marquess. All rights reserved. +Copyright (c) 2005-2011 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm b/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm index 79c96b76ccd..8b17dcc9f39 100644 --- a/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm +++ b/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm @@ -13,7 +13,7 @@ use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.024'; +$VERSION = '2.033'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -60,6 +60,7 @@ $VERSION = eval $VERSION; Z_STREAM_END Z_STREAM_ERROR Z_SYNC_FLUSH + Z_TREES Z_UNKNOWN Z_VERSION_ERROR @@ -563,6 +564,7 @@ Compress::Raw::Zlib - Low-Level Interface to zlib compression library ($i, $status) = new Compress::Raw::Zlib::Inflate( [OPT] ) ; $status = $i->inflate($input, $output [, $eof]) ; $status = $i->inflateSync($input) ; + $i->inflateReset() ; $i->dict_adler() ; $d->crc32() ; $d->adler32() ; @@ -629,7 +631,7 @@ The default is C. =item B<-Method> Defines the compression method. The only valid value at present (and -the default) is Z_DEFLATED. +the default) is C. =item B<-WindowBits> @@ -659,7 +661,7 @@ Defines the strategy used to tune the compression. The valid values are C, C, C, C and C. -The default is Z_DEFAULT_STRATEGY. +The default is C. =item B<-Dictionary> @@ -1100,6 +1102,14 @@ Note I are not present by default in compressed data streams. They must have been added explicitly when the data stream was created by calling C with C. +=head2 B<$status = $i-EinflateReset() > + +This method will reset the inflation object C<$i>. It can be used when you +are uncompressing multiple data streams and want to use the same object to +uncompress each of them. + +Returns C if successful. + =head2 B<$i-Edict_adler()> Returns the adler32 value for the dictionary. @@ -1412,7 +1422,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2010 Paul Marquess. All rights reserved. +Copyright (c) 2005-2011 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- cgit v1.2.3