Bug #15972 [Opn->Csd]: Bz2 compression does not work on linux
| From: | helgith at gmail dot com | Date: | Sat, 14 Mar 2009 15:45:33 +0000 |
| Subject: | Bug #15972 [Opn->Csd]: Bz2 compression does not work on linux | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-181@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
+Status: Closed
Type: Bug
Package: Archive_Tar
Operating System: Ubuntu Linux
PHP Version: 5.2.8
-Assigned To:
+Assigned To: cellog
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cellog
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.
Greg: It's kinda weird if bzopen doesn't accept b because the doc say
otherwise :) http://www.php.net/bzopen perhaps a doc bug
then.
According to Giorgio it is already fixed so closing the bug
Previous Comments:
------------------------------------------------------------------------
[2009-03-13 08:37:12] piccoloprincipe
@Greg: Yes, exactly. However, when I have upgraded phing the version
installed of Archive_Tar was 1.3.2 (last stable) and the revision of the
file was 1.39, and this bug is fixed from 1.40.
------------------------------------------------------------------------
[2009-03-13 02:57:12] cellog
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
------------------------------------------------------------------------
[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