summaryrefslogtreecommitdiff
path: root/cpan/Compress-Raw-Zlib
diff options
context:
space:
mode:
authorPaul Marquess <Paul.Marquess@ntlworld.com>2016-12-29 16:53:43 -0500
committerJames E Keenan <jkeenan@cpan.org>2016-12-29 16:58:13 -0500
commit9d99027858588965e9a07a36b0ad55fa4d483782 (patch)
tree363e9c437693bc13073a472774525a1aa8f25ada /cpan/Compress-Raw-Zlib
parent9637d2a524bfab39fd1e4cbf27b8f632a8265e9e (diff)
downloadperl-9d99027858588965e9a07a36b0ad55fa4d483782.tar.gz
Upgrade Compress-Raw-Zlib to CPAN version 2.070.
Diffstat (limited to 'cpan/Compress-Raw-Zlib')
-rw-r--r--cpan/Compress-Raw-Zlib/Zlib.xs2
-rw-r--r--cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm18
-rw-r--r--cpan/Compress-Raw-Zlib/zlib-src/inflate.c2
3 files changed, 11 insertions, 11 deletions
diff --git a/cpan/Compress-Raw-Zlib/Zlib.xs b/cpan/Compress-Raw-Zlib/Zlib.xs
index 664c26c60c..d379f7872d 100644
--- a/cpan/Compress-Raw-Zlib/Zlib.xs
+++ b/cpan/Compress-Raw-Zlib/Zlib.xs
@@ -1088,7 +1088,7 @@ flush(s, output, f=Z_FINISH)
if (DO_UTF8(output) && !sv_utf8_downgrade(output, 1))
croak("Wide character in Compress::Raw::Zlib::Deflate::flush input parameter");
#endif
- if(! s->flags & FLAG_APPEND) {
+ if((s->flags & FLAG_APPEND) != FLAG_APPEND) {
SvCUR_set(output, 0);
/* sv_setpvn(output, "", 0); */
}
diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
index 59a6100ebf..175462ff6c 100644
--- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
+++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm
@@ -10,7 +10,7 @@ use warnings ;
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS);
-$VERSION = '2.069';
+$VERSION = '2.070';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
@@ -1568,21 +1568,21 @@ L<Archive::Tar|Archive::Tar>,
L<IO::Zlib|IO::Zlib>
For RFC 1950, 1951 and 1952 see
-F<http://www.faqs.org/rfcs/rfc1950.html>,
-F<http://www.faqs.org/rfcs/rfc1951.html> and
-F<http://www.faqs.org/rfcs/rfc1952.html>
+L<http://www.faqs.org/rfcs/rfc1950.html>,
+L<http://www.faqs.org/rfcs/rfc1951.html> and
+L<http://www.faqs.org/rfcs/rfc1952.html>
The I<zlib> compression library was written by Jean-loup Gailly
-F<gzip@prep.ai.mit.edu> and Mark Adler F<madler@alumni.caltech.edu>.
+C<gzip@prep.ai.mit.edu> and Mark Adler C<madler@alumni.caltech.edu>.
The primary site for the I<zlib> compression library is
-F<http://www.zlib.org>.
+L<http://www.zlib.org>.
-The primary site for gzip is F<http://www.gzip.org>.
+The primary site for gzip is L<http://www.gzip.org>.
=head1 AUTHOR
-This module was written by Paul Marquess, F<pmqs@cpan.org>.
+This module was written by Paul Marquess, C<pmqs@cpan.org>.
=head1 MODIFICATION HISTORY
@@ -1590,7 +1590,7 @@ See the Changes file.
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2005-2015 Paul Marquess. All rights reserved.
+Copyright (c) 2005-2016 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/cpan/Compress-Raw-Zlib/zlib-src/inflate.c b/cpan/Compress-Raw-Zlib/zlib-src/inflate.c
index c938f49ba7..c8dca0b08f 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/inflate.c
+++ b/cpan/Compress-Raw-Zlib/zlib-src/inflate.c
@@ -1490,8 +1490,8 @@ int ZEXPORT inflateUndermine(
if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
state = (struct inflate_state FAR *)strm->state;
-#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
state->sane = !subvert;
+#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
return Z_OK;
#else
state->sane = 1;