Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c
| From: | Stanislav Malyshev | Date: | Wed, 04 Jun 2003 08:57:28 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1327@lists.php.net to get a copy of this message | ||
Hey, Sebastian, why not trying to actually _understand_ what other people
are doing and _explain_ what you are doing instead of submitting patched
that don't even compile?
SB>> sebastian Wed Jun 4 04:52:43 2003 EDT
SB>>
SB>> Modified files:
SB>> /ZendEngine2 zend.c
SB>> Log:
SB>> Fix segfault. Again.
SB>>
SB>> Index: ZendEngine2/zend.c
SB>> diff -u ZendEngine2/zend.c:1.233 ZendEngine2/zend.c:1.234
SB>> --- ZendEngine2/zend.c:1.233 Wed Jun 4 04:16:55 2003
SB>> +++ ZendEngine2/zend.c Wed Jun 4 04:52:43 2003
SB>> @@ -17,7 +17,7 @@
SB>> +----------------------------------------------------------------------+
SB>> */
SB>>
SB>> -/* $Id: zend.c,v 1.233 2003/06/04 08:16:55 stas Exp $ */
SB>> +/* $Id: zend.c,v 1.234 2003/06/04 08:52:43 sebastian Exp $ */
SB>>
SB>> #include "zend.h"
SB>> #include "zend_extensions.h"
SB>> @@ -568,6 +568,7 @@
SB>> GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable));
SB>> GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable));
SB>> GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable));
SB>> + GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable));
SB>> zend_hash_init_ex(GLOBAL_FUNCTION_TABLE, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0);
SB>> zend_hash_init_ex(GLOBAL_CLASS_TABLE, 10, NULL, ZEND_CLASS_DTOR, 1, 0);
SB>>
SB>>
SB>>
SB>>
SB>>
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109