develooper Front page | perl.perl5.porters | Postings from February 2014

RE: [perl #121073] IO::Compress COW problems

Thread Previous
Paul Marquess
February 1, 2014 23:26
RE: [perl #121073] IO::Compress COW problems
Message ID:
> From: Father Chrysostomos [] 
> Paul Marquess wrote:
> > Regarding the patch, I'm confused why C::R::Zlib needs updates, but
> > C::R::Bzip2 doesn't. The XS code is practically identical (because I 
> > recycled Zlib.xs when I was writing Bzip2.xs), so I don't understand 
> > why there isn't a COW issue with both?
> Presumably it does.  I only fixed the issues that caused test failures in 
> the perl core under -Accflags=-DPERL_DEBUG_READONLY_COW.  Those failures 
> were in IO::Compress's tests, so presumably it tests with ::Zlib by

The IO::Compress tests use both Compress::Raw::Zlib and
> If you take the tests I included in the patch and adjust them for Bzip2, 
> do they fail with it?

Yep - they do. Merged the patch into Compress::Raw::Bzip2

Uploaded new versions (2.064) of the all the compression modules to CPAN.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About