cvs: php4 /ext/xml compat.c
| From: | Moriyoshi Koizumi | Date: | Wed, 07 May 2003 15:28:58 +0000 |
| Subject: | cvs: php4 /ext/xml compat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20770@lists.php.net to get a copy of this message | ||
moriyoshi Wed May 7 11:28:58 2003 EDT
Modified files:
/php4/ext/xml compat.c
Log:
This should be needed.
Index: php4/ext/xml/compat.c
diff -u php4/ext/xml/compat.c:1.2 php4/ext/xml/compat.c:1.3
--- php4/ext/xml/compat.c:1.2 Wed May 7 11:21:31 2003
+++ php4/ext/xml/compat.c Wed May 7 11:28:58 2003
@@ -240,6 +240,7 @@
xmlMemSetup(memsuite->free_fcn, memsuite->malloc_fcn, memsuite->realloc_fcn,
_expat_compat_intn_strdup); /* WHOCANFIXME: not reentrant ! */
parser = (XML_Parser) memsuite->malloc_fcn(sizeof(struct _XML_Parser));
+ parser->namespace = 0;
parser->mem_hdlrs = *memsuite;
parser->parser = xmlCreatePushParserCtxt((xmlSAXHandlerPtr) &php_xml_compat_handlers, (void
*) parser, NULL, 0, NULL);
if (parser->parser == NULL) {