Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

From: Date: Sat, 02 Aug 2003 19:47:28 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1572@lists.php.net to get a copy of this message
Can you be more specific here? What's required by reflection that didn't work without this addition? Zeev At 22:03 02/08/2003, Marcus Boerger wrote:
helly           Sat Aug  2 15:03:14 2003 EDT
Modified files:
    /ZendEngine2        zend_API.c
Log: Initialize all struct members: Necessary for reflection Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.189 ZendEngine2/zend_API.c:1.190
--- ZendEngine2/zend_API.c:1.189        Sat Aug  2 07:43:55 2003
+++ ZendEngine2/zend_API.c      Sat Aug  2 15:03:14 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: zend_API.c,v 1.189 2003/08/02 11:43:55 wez Exp $ */ +/* $Id: zend_API.c,v 1.190 2003/08/02 19:03:14 helly Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1145,6 +1145,7 @@
        char *lowercase_name;
        int fname_len;
+       memset(internal_function, 0, sizeof(zend_function));
        if (type==MODULE_PERSISTENT) {
                error_type = E_CORE_WARNING;
        } else {
-- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.zend-engine.cvs (#1572) next »