#29521 [Opn->Csd]: compress.bzip2 wrapper

From: Date: Mon, 04 Oct 2004 02:11:24 +0000
Subject: #29521 [Opn->Csd]: compress.bzip2 wrapper
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67062@lists.php.net to get a copy of this message
 ID:               29521
 Updated by:       iliaa@php.net
 Reported By:      nlopess@php.net
-Status:           Open
+Status:           Closed
 Bug Type:         Bzip2 Related
 Operating System: all
 PHP Version:      5CVS-2004-08-04 (dev)
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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


Thread (31 messages)

« previous php.bugs (#67062) next »