Re: cvs: php4 /ext/yp CREDITS php_yp.h yp.c
| From: | Andi Gutmans | Date: | Mon, 19 Mar 2001 05:13:09 +0000 |
| Subject: | Re: cvs: php4 /ext/yp CREDITS php_yp.h yp.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-4645@lists.php.net to get a copy of this message | ||
Seems to me that you can nuke the following as it will always be done in RINIT:
+static void php_yp_init_globals(YPLS_D)
+{
+ YP(error) = 0;+} + +PHP_MINIT_FUNCTION(yp) +{ +#ifdef ZTS
+ yp_globals_id = ts_allocate_id(sizeof(php_yp_globals), (ts_allocate_ctor) php_yp_init_globals, NULL);+#else
+ php_yp_init_globals(YPLS_C);+#endif Andi At 10:16 PM 3/18/2001 +0000, Fredrik Öhrn wrote:
ohrn Sun Mar 18 14:16:46 2001 EDTModified files:/php4/ext/yp CREDITS php_yp.h yp.cLog: Much needed cleanup and new functions added ------------------------------------------- Cleaned up stringhandling for binary safeness. All functions now maintain a global 'errno' variable. All functions now print warning messages on failure. Added error code constants. Fixed bug #8041 while maintaining backward compatibility. New functions:yp_all traverse a map yp_cat retrive an entire map in one go yp_errno get last error code yp_err_string get a human readable error message-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net