#23852 [Fbk->Opn]: bcompiler: Assumes that --with-bz2 has been specified

From: Date: Fri, 30 May 2003 08:15:22 +0000
Subject: #23852 [Fbk->Opn]: bcompiler: Assumes that --with-bz2 has been specified
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16824@lists.php.net to get a copy of this message
ID: 23852 User updated by: per at nobolt dot com Reported By: per at nobolt dot com -Status: Feedback +Status: Open Bug Type: PEAR related Operating System: Debian GNU/Linux PHP Version: 4.3.1 Assigned To: alan_k New Comment: This is the release version (0.4) -- I haven't tested with the CVS version on this, it is running on a production system. If you have fixed lots of issues such as this, perhaps it would be time to make a new release (0.5)? (P.S. Yes, it was "dependent on engineer skills" you know. ;-) Previous Comments: ------------------------------------------------------------------------ [2003-05-28 08:54:52] alan_k@php.net is this the cvs version or the release version - I though I had that one nailed :) Regards Alan P.S. I like the estimated time.. :) - probably take me a few days :) ------------------------------------------------------------------------ [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

« previous php.pear.dev (#16824) next »