#23852 [Opn->Asn]: bcompiler: Assumes that --with-bz2 has been specified
| From: | arnaud@php.net | Date: | Wed, 28 May 2003 13:42:03 +0000 |
| Subject: | #23852 [Opn->Asn]: bcompiler: Assumes that --with-bz2 has been specified | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16776@lists.php.net to get a copy of this message | ||
ID: 23852
Updated by: arnaud@php.net
Reported By: per at nobolt dot com
-Status: Open
+Status: Assigned
Bug Type: PEAR related
Operating System: Debian GNU/Linux
PHP Version: 4.3.1
-Assigned To:
+Assigned To: alan_k
Previous Comments:
------------------------------------------------------------------------
[2003-05-28 08:11:28] per at nobolt dot com
bcompiler makes the (wrong) assumption that if PHP_HAS_STREAMS is set,
bzip support is enabled. This is not always the case, and what is even
worse, if PHP has been compiled without bzip2 support, bcompiler gives
a segmentation fault when bcompiled_load() is being run.
Solution:
Check if bzip2 support is available (somehow, if it can be done in an
easy way). If not, fallback to standard fopen() instead of bzopen().
Severity: grave, since it makes the package unusable if --with-bzip2
has not been specified, even though the package would work properly
without bzip2 support.
Estimated time to fix: 5 minutes-1 hour, dependent on engineer skills.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23852&edit=1