ID: 29521 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Yes, both on windows and linux. ------------------------------------------------------------------------ [2004-09-04 18:10:10] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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