ID:               25106
 Updated by:       [EMAIL PROTECTED]
 Reported By:      batjohan at home dot se
-Status:           Open
+Status:           Feedback
 Bug Type:         Bzip2 Related
 Operating System: Windows XP
 PHP Version:      4.3.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


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

[2003-08-16 02:48:47] batjohan at home dot se

Description:
------------
$handle = fopen ($file, "r");
$handle2 = bzopen($file2, "a");
fseek($handle,$vart);
$buffer = fread($handle, 8192);
if(!bzwrite($handle2, $buffer, strlen($buffer)))  // <-- here it
stops.. dont write something out... create a new file not more... 

Reproduce code:
---------------
http://www2.park.se/~te04-54/bug.html

Expected result:
----------------
To compress the file...  but it hangs...  when i use zlib it compress
the file..  



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25106&edit=1

Reply via email to