#25106 [NEW]: bzwrite
From: batjohan at home dot se
Operating system: Windows XP
PHP version: 4.3.2
PHP Bug Type: Bzip2 Related
Bug description: bzwrite
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 bug report at http://bugs.php.net/?id=25106&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25106&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25106&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25106&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25106&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25106&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25106&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25106&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25106&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25106&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25106&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25106&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25106&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25106&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25106&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25106&r=gnused
Thread (7 messages)
- batjohan at home dot se