From: Sascha Schumann Date: Tue, 17 Oct 2000 14:17:21 +0000 (+0000) Subject: Initialize tags properly. X-Git-Tag: php-4.0.4RC3~657 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d95bc9b3eb4545954d776904400afe5dd60d5a67;p=php Initialize tags properly. Submitted by: Andreas Karajannis --- diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 4e0eb72177..5e0adb9078 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1,4 +1,4 @@ -/* Generated by re2c 0.5 on Mon Oct 16 00:15:52 2000 */ +/* Generated by re2c 0.5 on Tue Oct 17 16:16:42 2000 */ #line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re" /* +----------------------------------------------------------------------+ @@ -697,6 +697,13 @@ PHP_RSHUTDOWN_FUNCTION(url_scanner) PHP_MINIT_FUNCTION(url_scanner) { + url_adapt_state_ex_t *ctx; + BLS_FETCH(); + + ctx = &BG(url_adapt_state_ex); + + ctx->tags = NULL; + REGISTER_INI_ENTRIES(); return SUCCESS; } diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index e5999f5992..228917c548 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -340,6 +340,13 @@ PHP_RSHUTDOWN_FUNCTION(url_scanner) PHP_MINIT_FUNCTION(url_scanner) { + url_adapt_state_ex_t *ctx; + BLS_FETCH(); + + ctx = &BG(url_adapt_state_ex); + + ctx->tags = NULL; + REGISTER_INI_ENTRIES(); return SUCCESS; }