Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #13904 bzopen doesn't support compression level
Submitted: 2008-05-15 00:47 UTC
From: cbrunet Assigned: cbrunet
Status: Closed Package: File_Archive (version CVS)
PHP Version: 5.2.4 OS:
Roadmaps: (Not assigned)    

 [2008-05-15 00:47 UTC] cbrunet (Charles Brunet)
Description: ------------ In File/Archive/Writer/Bzip2.php, line 98, you set mode to w concatenated with a compression level, but this function doesn't support this. It seems bzip2 only support a compression level using bzcompress function, but not using file compression functions. This cause your PHPUnit tests to report 2 errors. Functions setCompressionLevel function and compressionLevel variable could be dropped as well for this reason.


 [2008-05-28 15:59 UTC] cbrunet (Charles Brunet)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.