#29521 [Asn->Fbk]: compress.bzip2 wrapper
| From: | iliaa@php.net | Date: | Fri, 12 Jan 2007 16:45:32 +0000 |
| Subject: | #29521 [Asn->Fbk]: compress.bzip2 wrapper | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107543@lists.php.net to get a copy of this message | ||
ID: 29521
Updated by: iliaa@php.net
Reported By: nlopess@php.net
-Status: Assigned
+Status: Feedback
Bug Type: Bzip2 Related
Operating System: win32 only
PHP Version: 5CVS-2005-11-17
Assigned To: iliaa
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 19:18:23] nlopess@php.net
Warning:
fopen(compress.bzip2://http://pt.php.net/backend/notes/all.bz2): failed
to open stream: Invalid argument in C:\Documents and Settings\Nuno\- on
line 3
------------------------------------------------------------------------
[2005-07-01 16:08:32] nlopess@php.net
Yes, I'm using the binaries from snaps.php.net
BTW, my builds work :) (on cygwin, as I don't have the MSVC)
------------------------------------------------------------------------
[2005-07-01 09:41:02] sniper@php.net
Ilia, it doesn't work! help! :)
Nuno: You ARE using the binary snapshot, right? And not trying to build
it yourself from sources..?
------------------------------------------------------------------------
[2005-03-01 17:21:57] nlopess@php.net
works on linux but not on windows..
------------------------------------------------------------------------
[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