Bug #15972 [Opn]: Bz2 compression does not work on linux
| From: | greg at chiaraquartet dot net | Date: | Fri, 13 Mar 2009 02:57:12 +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-177@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: greg@chiaraquartet.net
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:
the bz2 extension does not allow "b" and this is not specific to
linux.
I think this is fixed in CVS, but have no time to check in the near
future
Previous Comments:
------------------------------------------------------------------------
[2009-03-12 23:19:11] dufuz
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
------------------------------------------------------------------------
[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