Bug #17300 Updated: bzcompress always outs "-8"

From: Date: Tue, 11 Jun 2002 05:13:02 +0000
Subject: Bug #17300 Updated: bzcompress always outs "-8"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10066@lists.php.net to get a copy of this message
 ID:               17300
 Updated by:       mfischer@php.net
 Reported By:      x86zman@bigfoot.com
-Status:           Open
+Status:           Feedback
 Bug Type:         Bzip2 Related
-Operating System: Win32 (W2K.Srvr w/SP2&SRP1)
+Operating System: Windows
-PHP Version:      4.2.2-dev & 4.3.0-dev
+PHP Version:      4.3.0-dev
 New Comment:

Give a small self-contained script which fails for you.

I wonder why it fails, it worked for me.



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

[2002-06-10 22:43:28] x86zman@bigfoot.com

just marking the 4.3.0-dev too for carring this bug !

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

[2002-06-10 22:42:17] x86zman@bigfoot.com

is was using php4-win32-STABLE-200206110000.zip (and the "-latest" too
!) snap for testing , and guess what -> this bug is still alive ! (how
unexpected ... ;)

and you may ref. this a docu. bug, but even so i've tested against the
newest docs. in the site and in the d/lable man.(s) - nothing has
changed !

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

[2002-06-04 14:02:17] mfischer@php.net

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

Confirmed, 4.2.1 is broken. This bug is fixed in CVS, however.

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

[2002-05-26 03:58:48] derick@php.net

reopen

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

[2002-05-25 21:10:35] x86zman@bigfoot.com

Here's the "big" Code :

[Code]

if (@function_exists('bzcompress'))
{
$file_ext .= '.bz2'; $file_mime_type = 'application/x-bzip';
$file_contents = bzcompress($file_contents,9);
}
	else { $file_mime_type = 'application/x-csv'; }

[/Code]

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/17300

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



Thread (14 messages)

« previous php.bugs (#10066) next »