Re: cvs: php-src(PHP_5_1) /ext/mysqli mysqli.c /ext/xmlreader php_xmlreader.c /ext/xsl php_xsl.c

From: Date: Tue, 15 Nov 2005 14:36:45 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/mysqli mysqli.c /ext/xmlreader php_xmlreader.c /ext/xsl php_xsl.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35125@lists.php.net to get a copy of this message
Don't you think it's better to use memset/ecalloc in these cases - so we don't need to patch them each time we have some change? DS>>dmitry Tue Nov 15 09:28:41 2005 EDT DS>> DS>> Modified files: (Branch: PHP_5_1) DS>> /php-src/ext/xsl php_xsl.c DS>> /php-src/ext/mysqli mysqli.c DS>> /php-src/ext/xmlreader php_xmlreader.c DS>> Log: DS>> Allow recursive calls to __get/__set for different properties DS>> DS>>-/* $Id: php_xsl.c,v 1.32.2.1 2005/11/14 22:03:02 tony2001 Exp $ */ DS>>+/* $Id: php_xsl.c,v 1.32.2.2 2005/11/15 14:28:38 dmitry Exp $ */ DS>> DS>> #ifdef HAVE_CONFIG_H DS>> #include "config.h" DS>>@@ -120,8 +120,7 @@ DS>> DS>> intern = emalloc(sizeof(xsl_object)); DS>> intern->std.ce = class_type; DS>>- intern->std.in_get = 0; DS>>- intern->std.in_set = 0; DS>>+ intern->std.guards = NULL; DS>> intern->ptr = NULL; DS>> intern->prop_handler = NULL; DS>> intern->parameter = NULL; -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.cvs (#35125) next »