ID: 29521
Updated by: aidan@php.net
Reported By: nlopess@php.net
Status: Open
Bug Type: Bzip2 Related
Operating System: all
PHP Version: 5CVS-2004-08-04 (dev)
New Comment:
You must build with --with-bz2, not --with-bzip2
Previous Comments:
------------------------------------------------------------------------
[2004-10-04 12:10:51] nlopess@php.net
I know this may sound strange, but I can replicate this problem on my
two machines (windows & linux) using latest HEAD.
------------------------------------------------------------------------
[2004-10-04 04:11:20] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
This bug was fixed in CVS. I absolutely cannot replicate the probem.
------------------------------------------------------------------------
[2004-09-04 18:41:09] nlopess@php.net
Yes, both on windows and linux.
------------------------------------------------------------------------
[2004-09-04 18:10:10] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Nuno, are you still able to reproduce this error?
Your code works fine for me.
------------------------------------------------------------------------
[2004-08-04 13:17:36] nlopess@php.net
Description:
------------
I can't use the compress.bzip2 wrapper. Can you please check my code
above?
Reproduce code:
---------------
<?
$fp=fopen('compress.bzip2://http://php.net/backend/notes/all.bz2',
'r');
while (!feof($fp)) {
echo fgets($fp, 4096);
}
fclose($fp);
?>
Actual result:
--------------
Warning: fopen() 1137 bytes of buffered data lost during stream
conversion!
in /cvs/livedocs/test_bz.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29521&edit=1