Bug #15972 [Opn]: Bz2 compression does not work on linux

From: Date: Thu, 12 Mar 2009 23:19:11 +0000
Subject: Bug #15972 [Opn]: Bz2 compression does not work on linux
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-171@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=15972&edit=1 ID: 15972 Updated by: helgith@gmail.com Reported By: piccoloprincipeazzurro at gmail dot com Summary: Bz2 compression does not work on linux Status: Open Type: Bug Package: Archive_Tar Operating System: Ubuntu Linux PHP Version: 5.2.8 Roadmap Versions: New Comment: Could you explain what you mean by "does not work on linux". What exactly does not work ? I feel a bit iffy removing the b flag since it's there for portability Previous Comments: ------------------------------------------------------------------------ [2009-03-03 08:20:15] piccoloprincipe The following patch has been added/updated: Patch Name: pear-archive-tar-15972 URL: #patch bug:15972;patch:pear-archive-tar-15972;revision:1236068415; ------------------------------------------------------------------------ [2009-03-03 08:18:33] piccoloprincipe Description: ------------ As use by the phing TarTask: $tar = new Archive_Tar($this->tarFile->getAbsolutePath(), $this->compression); when $this->compression is 'bz2', the archiviation does not work because of a 'b' flag set in call to bzopen(). Test script: --------------- Expected result: ---------------- Actual result: -------------- ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=15972&edit=1

« previous php.pear.bugs (#171) next »