Re: bz2.c is broken.
| From: | Andrei Zmievski | Date: | Mon, 23 Oct 2000 13:38:25 +0000 |
| Subject: | Re: bz2.c is broken. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35885@lists.php.net to get a copy of this message | ||
This has been fixed, thanks.
On Mon, 23 Oct 2000, Kirill Maximov wrote:
>
> Hi!
>
> Existing in CVS version of ext/bz2/bz2.c file doesn't compile on
> my Solaris 7 x86 box. I've made a small patch that fixes a problem:
>
>
> magnat!kir$ cvs diff -u ext/bz2/bz2.c
> Index: ext/bz2/bz2.c
> ===================================================================
> RCS file: /repository/php4/ext/bz2/bz2.c,v
> retrieving revision 1.3
> diff -u -u -r1.3 bz2.c
> --- ext/bz2/bz2.c 2000/10/21 10:41:54 1.3
> +++ ext/bz2/bz2.c 2000/10/23 08:08:08
> @@ -63,7 +63,7 @@
> ZEND_GET_MODULE(bz2)
> #endif
>
> -static void _php_bz2_close_handle(BZFILE *);
> +static void _php_bz2_close_handle(zend_rsrc_list_entry *rsrc);
> static void _php_bz2_error_machine(INTERNAL_FUNCTION_PARAMETERS, int);
>
> static int le_bz2;
> magnat!kir$
>
> --
>
> With best regards,
> Kirill Maximov
-Andrei
"The only true currency in this bankrupt world is what we share with each
other when we're uncool." -- Lester Bangs, from the film 'Almost Famous'