cvs: /php4/ext/gd gd.c

From: Date: Sat, 04 Mar 2000 14:21:52 +0000
Subject: cvs: /php4/ext/gd gd.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-11509@lists.php.net to get a copy of this message
sas Sat Mar 4 06:21:52 2000 EDT Modified files: /php4/ext/gd gd.c Log: Remove outdated PHP 3.1 stuff Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.42 php4/ext/gd/gd.c:1.43 --- php4/ext/gd/gd.c:1.42 Fri Mar 3 06:15:05 2000 +++ php4/ext/gd/gd.c Sat Mar 4 06:21:22 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.42 2000/03/03 14:15:05 jah Exp $ */ +/* $Id: gd.c,v 1.43 2000/03/04 14:21:22 sas Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -154,7 +154,7 @@ }; zend_module_entry gd_module_entry = { - "gd", gd_functions, PHP_MINIT(gd), PHP_MSHUTDOWN(gd), NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES + "gd", gd_functions, PHP_MINIT(gd), NULL, NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES }; #ifdef ZTS @@ -245,25 +245,6 @@ #ifdef HAVE_GD_PNG php_printf(" PNG"); #endif -} - -PHP_MSHUTDOWN_FUNCTION(gd) -{ - GDLS_FETCH(); - -#ifdef THREAD_SAFE - PHP3_TLS_THREAD_FREE(gdlib_globals); - PHP_MUTEX_LOCK(gdlib_mutex); - numthreads--; - if (numthreads<1) { - PHP3_TLS_PROC_SHUTDOWN(GDlibTls); - PHP_MUTEX_UNLOCK(gdlib_mutex); - PHP_MUTEX_FREE(gdlib_mutex); - return SUCCESS; - } - PHP_MUTEX_UNLOCK(gdlib_mutex); -#endif - return SUCCESS; } /* Need this for cpdf. See also comment in file.c php3i_get_le_fp() */

« previous php.version4 (#11509) next »