Re: svn: /php/php-src/branches/PHP_5_3/ext/gd/libgd/ gd_compat.c gd_compat.h
| From: | Pierre Joye | Date: | Sun, 09 Aug 2009 13:47:54 +0000 |
| Subject: | Re: svn: /php/php-src/branches/PHP_5_3/ext/gd/libgd/ gd_compat.c gd_compat.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60075@lists.php.net to get a copy of this message | ||
NEWS?
Cheers,
On Sun, Aug 9, 2009 at 3:15 PM, Ilia Alshanetsky<iliaa@php.net> wrote:
> iliaa Sun, 09 Aug 2009 13:15:45 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=286948
>
> Log:
> Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in
> declaration)
>
> Bug: http://bugs.php.net/49193 (Open) gd_compat >
> gdJpegGetVersionString should return const char* not int
>
> Changed paths:
> U php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.c
> U php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.h
>
> Modified: php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.c
> ===================================================================
> --- php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.c 2009-08-09 12:04:43 UTC (rev
> 286947)
> +++ php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.c 2009-08-09 13:15:45 UTC (rev
> 286948)
> @@ -14,7 +14,7 @@
> return JPEG_LIB_VERSION;
> }
>
> -int gdJpegGetVersionString()
> +const char * gdJpegGetVersionString()
> {
> switch(JPEG_LIB_VERSION) {
> case 62:
>
> Modified: php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.h
> ===================================================================
> --- php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.h 2009-08-09 12:04:43 UTC (rev
> 286947)
> +++ php/php-src/branches/PHP_5_3/ext/gd/libgd/gd_compat.h 2009-08-09 13:15:45 UTC (rev
> 286948)
> @@ -8,7 +8,7 @@
> #endif
>
> const char * gdPngGetVersionString();
> -int gdJpegGetVersionString();
> +const char * gdJpegGetVersionString();
> int gdJpegGetVersionInt();
> int overflow2(int a, int b);
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org