cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re
| From: | Sascha Schumann | Date: | Tue, 17 Oct 2000 14:17:21 +0000 |
| Subject: | cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2088@lists.php.net to get a copy of this message | ||
sas Tue Oct 17 07:17:21 2000 EDT
Modified files:
/php4/ext/standard url_scanner_ex.c url_scanner_ex.re
Log:
Initialize tags properly.
Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
Index: php4/ext/standard/url_scanner_ex.c
diff -u php4/ext/standard/url_scanner_ex.c:1.18 php4/ext/standard/url_scanner_ex.c:1.19
--- php4/ext/standard/url_scanner_ex.c:1.18 Mon Oct 16 13:08:27 2000
+++ php4/ext/standard/url_scanner_ex.c Tue Oct 17 07:17:21 2000
@@ -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_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;
}
Index: php4/ext/standard/url_scanner_ex.re
diff -u php4/ext/standard/url_scanner_ex.re:1.19 php4/ext/standard/url_scanner_ex.re:1.20
--- php4/ext/standard/url_scanner_ex.re:1.19 Mon Oct 16 20:02:47 2000
+++ php4/ext/standard/url_scanner_ex.re Tue Oct 17 07:17:21 2000
@@ -340,6 +340,13 @@
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;
}