Re: [PHP-CVS] cvs: php4 /ext/yp CREDITS php_yp.h yp.c

2001-03-19 Thread Fredrik Ohrn
On Mon, 19 Mar 2001, Andi Gutmans wrote: > 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

Re: [PHP-CVS] cvs: php4 /ext/yp CREDITS php_yp.h yp.c

2001-03-18 Thread Andi Gutmans
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, NUL

[PHP-CVS] cvs: php4 /ext/yp CREDITS php_yp.h yp.c

2001-03-18 Thread Fredrik Öhrn
ohrnSun Mar 18 14:16:46 2001 EDT Modified files: /php4/ext/ypCREDITS php_yp.h yp.c Log: Much needed cleanup and new functions added --- Cleaned up stringhandling for binary safeness. All functions now