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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 43 - 10 = ?

 
 [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.

Comments

 [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 pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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.