pajoye Sun Feb 11 11:11:49 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src NEWS
/php-src/ext/gd gd.c
Log:
- Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.529&r2=1.2027.2.547.2.530&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.529 php-src/NEWS:1.2027.2.547.2.530
--- php-src/NEWS:1.2027.2.547.2.529 Sat Feb 10 20:52:42 2007
+++ php-src/NEWS Sun Feb 11 11:11:48 2007
@@ -6,6 +6,7 @@
- Add --ri switch to CLI which allows to check extension information. (Marcus)
- Fixed bug #40431 (dynamic properties may cause crash in ReflectionProperty
methods). (Tony)
+- Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre)
- Fixed bug #40410 (ext/posix does not compile on MacOS 10.3.9). (Tony)
- Fixed bug #39836 (SplObjectStorage empty after unserialize). (Marcus)
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.312.2.20.2.14&r2=1.312.2.20.2.15&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.20.2.14 php-src/ext/gd/gd.c:1.312.2.20.2.15
--- php-src/ext/gd/gd.c:1.312.2.20.2.14 Mon Jan 8 22:52:22 2007
+++ php-src/ext/gd/gd.c Sun Feb 11 11:11:48 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.312.2.20.2.14 2007/01/08 22:52:22 nlopess Exp $ */
+/* $Id: gd.c,v 1.312.2.20.2.15 2007/02/11 11:11:48 pajoye Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -4338,11 +4338,6 @@
T1_TMATRIX *transform = NULL;
char *str;
int str_len;
- int argc = ZEND_NUM_ARGS();
-
- if (argc != 8 && argc != 12) {
- ZEND_WRONG_PARAM_COUNT();
- }
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsrlllll|lldl",
&img, &str, &str_len, &fnt, &size, &_fg, &_bg, &x, &y, &space, &width, &angle,
&aa_steps) == FAILURE) {
return;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php