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 EDT
>
>   Modified files:
>     /php4/ext/yp        CREDITS php_yp.h yp.c
>   Log:
>   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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to