Skip Menu |

This queue is for tickets about the Compress-Bzip2 CPAN distribution.

Report information
The Basics
Id: 25002
Status: resolved
Priority: 0/
Queue: Compress-Bzip2

People
Owner: Nobody in particular
Requestors: ewaters [...] uarc.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: memBzip ignores level
Date: Fri, 16 Feb 2007 11:25:50 -0700
To: bug-Compress-Bzip2 [...] rt.cpan.org
From: Eric Waters <ewaters [...] uarc.com>
In Bzip2.xs, memBzip() ignores what the user requests for a compression level. Line 1779: err = BZ2_bzBuffToBuffCompress((char*)out+5,&new_len,(char*)in,in_len,6,0,240); Should read: err = BZ2_bzBuffToBuffCompress((char*)out+5,&new_len,(char*)in,in_len,level,0,240); Eric
Good catch! I've added a fix for the upcoming 2.10 at https://github.com/rurban/Compress-Bzip2/ with 4ea9f46 : [cpan #25002] memBzip() ignores level -- Reini Urban