diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm b/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm index acf599daa25..ae711285c0c 100644 --- a/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm +++ b/Master/tlpkg/tlperl/lib/Compress/Raw/Zlib.pm @@ -3,15 +3,14 @@ package Compress::Raw::Zlib; require 5.006 ; require Exporter; -use AutoLoader; use Carp ; use strict ; use warnings ; use bytes ; -our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS ); +our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS); -$VERSION = '2.060'; +$VERSION = '2.065'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -593,8 +592,6 @@ sub Compress::Raw::Zlib::deflateStream::deflateParams } -# Autoload methods go after __END__, and are processed by the autosplit program. - 1; __END__ @@ -638,8 +635,8 @@ Compress::Raw::Zlib - Low-Level Interface to zlib compression library $crc = adler32($buffer [,$crc]) ; $crc = crc32($buffer [,$crc]) ; - $crc = adler32_combine($crc1, $crc2, $len2)l - $crc = crc32_combine($adler1, $adler2, $len2) + $crc = crc32_combine($crc1, $crc2, $len2); + $adler = adler32_combine($adler1, $adler2, $len2); my $version = Compress::Raw::Zlib::zlib_version(); my $flags = Compress::Raw::Zlib::zlibCompileFlags(); @@ -1293,10 +1290,11 @@ If the $crc parameters is C<undef>, the crc value will be reset. If you have built this module with zlib 1.2.3 or better, two more CRC-related functions are available. - $crc = adler32_combine($crc1, $crc2, $len2)l - $crc = crc32_combine($adler1, $adler2, $len2) + $crc = crc32_combine($crc1, $crc2, $len2); + $adler = adler32_combine($adler1, $adler2, $len2); These functions allow checksums to be merged. +Refer to the I<zlib> documentation for more details. =head1 Misc @@ -1360,7 +1358,7 @@ from STDIN. The status code returned from C<inflate> will only trigger termination of the main processing loop if it isn't C<Z_OK>. When C<LimitOutput> has not -been used the C<Z_OK> status means means that the end of the compressed +been used the C<Z_OK> status means that the end of the compressed data stream has been reached or there has been an error in uncompression. =item * @@ -1592,7 +1590,7 @@ See the Changes file. =head1 COPYRIGHT AND LICENSE -Copyright (c) 2005-2013 Paul Marquess. All rights reserved. +Copyright (c) 2005-2014 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. |