cvs: php-src(PHP_5_2) /ext/exif exif.c
| From: | Pierre-Alain Joye | Date: | Fri, 07 Mar 2008 18:41:02 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/exif exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48944@lists.php.net to get a copy of this message | ||
pajoye Fri Mar 7 18:41:02 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/exif exif.c
Log:
- #44355, compilation breaks due illegal const usage (Guenter Knauf)
I suppose it must break on other platform, it is not used anywhere else
but here, and it was introduced after 5.2.5 (why no news)
http://cvs.php.net/viewvc.cgi/php-src/ext/exif/exif.c?r1=1.173.2.5.2.23&r2=1.173.2.5.2.24&diff_format=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.173.2.5.2.23 php-src/ext/exif/exif.c:1.173.2.5.2.24
--- php-src/ext/exif/exif.c:1.173.2.5.2.23 Mon Dec 31 07:20:06 2007
+++ php-src/ext/exif/exif.c Fri Mar 7 18:41:02 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.173.2.5.2.23 2007/12/31 07:20:06 sebastian Exp $ */
+/* $Id: exif.c,v 1.173.2.5.2.24 2008/03/07 18:41:02 pajoye Exp $ */
/* ToDos
*
@@ -142,7 +142,7 @@
};
/* }}} */
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.23 2007/12/31 07:20:06 sebastian Exp
$"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.24 2008/03/07 18:41:02 pajoye Exp $"
/* {{{ PHP_MINFO_FUNCTION
*/
@@ -242,7 +242,7 @@
/* }}} */
/* {{{ exif dependencies */
-static const zend_module_dep exif_module_deps[] = {
+static zend_module_dep exif_module_deps[] = {
ZEND_MOD_REQUIRED("standard")
#if EXIF_USE_MBSTRING
ZEND_MOD_REQUIRED("mbstring")