RE: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/mysqli mysqli.c /ext/xmlreaderphp_xmlreader.c /ext/xsl php_xsl.c
| From: | Dmitry Stogov | Date: | Tue, 15 Nov 2005 14:42:46 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/mysqli mysqli.c /ext/xmlreaderphp_xmlreader.c /ext/xsl php_xsl.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-35126@lists.php.net to get a copy of this message | ||
May be it make sense, but I hope no more modifications will required.
Dmitry.
> -----Original Message-----
> From: Stanislav Malyshev [mailto:stas@zend.com]
> Sent: Tuesday, November 15, 2005 5:37 PM
> To: Dmitry Stogov
> Cc: php-cvs@lists.php.net
> Subject: Re: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/mysqli
> mysqli.c /ext/xmlreaderphp_xmlreader.c /ext/xsl php_xsl.c
>
>
> 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
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>