cvs: Zend(PHP_4_4) / zend_compile.c

From: Date: Sun, 15 Oct 2006 17:06:14 +0000
Subject: cvs: Zend(PHP_4_4) / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5324@lists.php.net to get a copy of this message
iliaa Sun Oct 15 17:06:14 2006 UTC Modified files: (Branch: PHP_4_4) /Zend zend_compile.c Log: Fixed bug #39129 avoid creation of a dummy constructor. http://cvs.php.net/viewvc.cgi/Zend/zend_compile.c?r1=1.240.2.10.2.7&r2=1.240.2.10.2.8&diff_format=u Index: Zend/zend_compile.c diff -u Zend/zend_compile.c:1.240.2.10.2.7 Zend/zend_compile.c:1.240.2.10.2.8 --- Zend/zend_compile.c:1.240.2.10.2.7 Thu Feb 23 18:07:16 2006 +++ Zend/zend_compile.c Sun Oct 15 17:06:14 2006 @@ -1164,7 +1164,7 @@ if (zend_hash_find(&ce->parent->function_table, ce->parent->name, ce->parent->name_length+1, (void **) &function)==SUCCESS) { /* inherit parent's constructor */ - zend_hash_update(&ce->function_table, ce->name, ce->name_length+1, function, sizeof(zend_function), NULL); + zend_hash_update(&ce->function_table, ce->parent->name, ce->parent->name_length+1, function, sizeof(zend_function), NULL); function_add_ref(function); } }

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