Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/gd gd.c From: Derick Rethans (d.rethans <email protected>)
Date: 11/03/00

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 <email protected>
> For additional commands, e-mail: php-cvs-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

--
Derick Rethans
JDI Media Solutions

H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands

e-mail: d.rethans <email protected> http://www.jdimedia.nl/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>