Re: cvs: php4 /ext/sablot sablot.c
| From: | Andi Gutmans | Date: | Sun, 03 Dec 2000 18:15:50 +0000 |
| Subject: | Re: cvs: php4 /ext/sablot sablot.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2885@lists.php.net to get a copy of this message | ||
You can't use _FETCH() and the ..G() macros in MINIT.
Use them only during a request.
Andi
At 10:28 02/12/00 +0000, Sterling Hughes wrote:
--- Andi Gutmans <andi@zend.com> http://www.zend.com/sterling Sat Dec 2 02:28:56 2000 EDTModified files:/php4/ext/sablot sablot.cLog: First attempt at fixing 8036 Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.18 php4/ext/sablot/sablot.c:1.19--- php4/ext/sablot/sablot.c:1.18 Fri Nov 24 08:26:35 2000 +++ php4/ext/sablot/sablot.c Sat Dec 2 02:28:55 2000@@ -175,7 +175,10 @@ /* MINIT and MINFO Functions */ PHP_MINIT_FUNCTION(sablot) {+ SABLOTLS_FETCH(); le_sablot = zend_register_list_destructors_ex(_php_sablot_free_processor, NULL, "Sablotron XSLT", module_number);++ SABLOTG(processor) = NULL;return SUCCESS;} -- 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