Re: cvs: php4 /ext/xml xml.c
| From: | Andi Gutmans | Date: | Sun, 04 May 2003 02:34:09 +0000 |
| Subject: | Re: cvs: php4 /ext/xml xml.c | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-20680@lists.php.net to get a copy of this message | ||
I don't quite remember what this is all about nor do I remember the context. Can you refresh my memory? (It might take me a couple of weeks to answer although there's some chance it'll happen earlier :)
Andi
At 06:34 PM 5/1/2003 +0200, Thies C. Arntzen wrote:
On Thu, May 01, 2003 at 11:03:49AM -0400, Sterling Hughes wrote:If object contains a property that points to the xml parser, than it causes a recursive free of the parser.no need to comment out, it doesn't belong there '.'may i ask why?i know (i wrote that code) - but andi said at one point in the past that ZE2 requires this. andi?tc+----------------------------------------------------------------------+Index: php4/ext/xml/xml.c diff -u php4/ext/xml/xml.c:1.117 php4/ext/xml/xml.c:1.118--- php4/ext/xml/xml.c:1.117 Wed Apr 2 20:00:45 2003 +++ php4/ext/xml/xml.c Wed Apr 30 23:47:54 2003@@ -17,7 +17,7 @@doing it (again) */*/ -/* $Id: xml.c,v 1.117 2003/04/03 01:00:45 moriyoshi Exp $ */ +/* $Id: xml.c,v 1.118 2003/05/01 03:47:54 sterling Exp $ */ #define IS_EXT_MODULE @@ -285,13 +285,6 @@ static void xml_parser_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) { xml_parser *parser = (xml_parser *)rsrc->ptr; - - /* please leave this commented - or ask thies@thieso.net before-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Thies C. Arntzen - Looking for all sorts of freelance work - just ask..-/*#ifdef ZEND_ENGINE_2 - if (parser->object) {- zval_ptr_dtor(&parser->object);- } -#endif */ if (parser->parser) {XML_ParserFree(parser->parser);-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phphttp://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ