-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
perl 5.14.2
IO::Compress 2.206
I am using this function
sub _gunzip_file {
my ( $filename ) = @_;
my $gunzip = IO::Uncompress::Gunzip->new( $filename, { Append => 1, MultiStream => 1 } );
my $buffer = '';
1 while $gunzip->read( $buffer ) > 0;
die "gunzip failed: $GunzipError\n" if $GunzipError;
return $buffer;
}
to gunzip files. Recently the function croaks with the message
Compress::Raw::Zlib::Inflate::new: unknown key value(s) AppendOutput CRC32 ADLER32 at perl5/IO/Uncompress/Adapter/Inflate.pm line 34
Unfortunately until today this happens only once and I was not able to reproduce it even with the same .gz input file that has caused the croaking.
Any idea why it could randomly happen that the key values AppendOutput CRC32 ADLER32 are treated as unknown?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels