Re: cvs: php4 /ext/gd gd.c
| From: | Derick Rethans | Date: | Fri, 03 Nov 2000 20:56:49 +0000 |
| Subject: | Re: cvs: php4 /ext/gd gd.c | ||
| References: | 1 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-cvs+get-2468@lists.php.net to get a copy of this message | ||
Hello,
the new function still does not work. I think we should let it fix by Mathieu
himself.
It leaks memory too.
Derick
Derick Rethans wrote:
> derick Fri Nov 3 12:44:04 2000 EDT
>
> Modified files:
> /php4/ext/gd gd.c
> Log:
> - Fixed gd by adding a define
>
>
> Index: php4/ext/gd/gd.c
> diff -u php4/ext/gd/gd.c:1.96 php4/ext/gd/gd.c:1.97
> --- php4/ext/gd/gd.c:1.96 Fri Nov 3 12:31:36 2000
> +++ php4/ext/gd/gd.c Fri Nov 3 12:44:04 2000
> @@ -18,7 +18,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: gd.c,v 1.96 2000/11/03 20:31:36 derick Exp $ */
> +/* $Id: gd.c,v 1.97 2000/11/03 20:44:04 derick Exp $ */
>
> /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
> Cold Spring Harbor Labs. */
> @@ -493,6 +493,7 @@
> }
> else if (!memcmp(data, php_sig_gif, 3))
> return PHP_GDIMG_TYPE_GIF;
> +#ifdef HAVE_GD_WMBP
> else {
> gdIOCtx *io_ctx;
> io_ctx = gdNewDynamicCtx (8, data);
> @@ -504,6 +505,7 @@
> io_ctx->free(io_ctx);
> }
> }
> +#endif
> return -1;
> }
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/