summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
48d4fdb)
Perl 5.16.3 (and possibly older versions) fails with the
following errors (from CentOS7):
Use of ?PATTERN? without explicit operator is deprecated
Search pattern not terminated
# signal that we're done and can return undef next call:
delete $self->{ctx};
my $err = $gz->flush($buf, Z_FINISH);
# signal that we're done and can return undef next call:
delete $self->{ctx};
my $err = $gz->flush($buf, Z_FINISH);
- $err == Z_OK ? $buf : gzip_fail($ctx, $err);
+ ($err == Z_OK) ? $buf : gzip_fail($ctx, $err);