cvs: php4(PHP_4_3) /ext/gd gd.c php_gd.h
| From: | Jani Taskinen | Date: | Mon, 31 Mar 2003 08:49:30 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/gd gd.c php_gd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19873@lists.php.net to get a copy of this message | ||
sniper Mon Mar 31 03:49:30 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd gd.c php_gd.h
Log:
cleanup
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.221.2.18 php4/ext/gd/gd.c:1.221.2.19
--- php4/ext/gd/gd.c:1.221.2.18 Sun Mar 30 13:05:40 2003
+++ php4/ext/gd/gd.c Mon Mar 31 03:49:30 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.221.2.18 2003/03/30 18:05:40 rasmus Exp $ */
+/* $Id: gd.c,v 1.221.2.19 2003/03/31 08:49:30 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -376,13 +376,13 @@
/* {{{ PHP_RSHUTDOWN_FUNCTION
*/
+#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
PHP_RSHUTDOWN_FUNCTION(gd)
{
-#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
gdFreeFontCache();
-#endif
return SUCCESS;
}
+#endif
/* }}} */
/* {{{ PHP_MINFO_FUNCTION
Index: php4/ext/gd/php_gd.h
diff -u php4/ext/gd/php_gd.h:1.44.2.4 php4/ext/gd/php_gd.h:1.44.2.5
--- php4/ext/gd/php_gd.h:1.44.2.4 Wed Mar 5 11:04:20 2003
+++ php4/ext/gd/php_gd.h Mon Mar 31 03:49:30 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_gd.h,v 1.44.2.4 2003/03/05 16:04:20 iliaa Exp $ */
+/* $Id: php_gd.h,v 1.44.2.5 2003/03/31 08:49:30 sniper Exp $ */
#ifndef PHP_GD_H
#define PHP_GD_H
@@ -58,7 +58,9 @@
PHP_MINFO_FUNCTION(gd);
PHP_MINIT_FUNCTION(gd);
PHP_MSHUTDOWN_FUNCTION(gd);
+#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
PHP_RSHUTDOWN_FUNCTION(gd);
+#endif
PHP_FUNCTION(gd_info);
PHP_FUNCTION(imagearc);