rasmus Sun Mar 30 13:05:40 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd gd.c
Log:
No point calling the RSHUTDOWN hook here unless we are actually going
to do something in it.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.221.2.17 php4/ext/gd/gd.c:1.221.2.18
--- php4/ext/gd/gd.c:1.221.2.17 Tue Mar 11 23:30:01 2003
+++ php4/ext/gd/gd.c Sun Mar 30 13:05:40 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.221.2.17 2003/03/12 04:30:01 sniper Exp $ */
+/* $Id: gd.c,v 1.221.2.18 2003/03/30 18:05:40 rasmus Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -284,7 +284,11 @@
PHP_MINIT(gd),
NULL,
NULL,
+#if HAVE_LIBGD20 && HAVE_GD_STRINGFT
PHP_RSHUTDOWN(gd),
+#else
+ NULL,
+#endif
PHP_MINFO(gd),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php