cvs: ZendEngine2(PHP_5_0) / zend_compile.c
| From: | Sara Golemon | Date: | Sat, 21 Aug 2004 00:01:45 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2888@lists.php.net to get a copy of this message | ||
pollita Fri Aug 20 20:01:45 2004 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_compile.c
Log:
MFH Bufix#29777 Bad commenting
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.567.2.4&r2=1.567.2.5&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.567.2.4 ZendEngine2/zend_compile.c:1.567.2.5
--- ZendEngine2/zend_compile.c:1.567.2.4 Sun Aug 15 11:50:37 2004
+++ ZendEngine2/zend_compile.c Fri Aug 20 20:01:44 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.567.2.4 2004/08/15 15:50:37 helly Exp $ */
+/* $Id: zend_compile.c,v 1.567.2.5 2004/08/21 00:01:44 pollita Exp $ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -1100,7 +1100,7 @@
* the beginning of the name speeds up the check process */
name_len = strlen(CG(active_op_array)->function_name);
zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len,
sizeof(lcname)-1));
- lcname[sizeof(lcname)-1] = '\0'; // zend_str_tolower_copy won't necessarily set the
zero byte
+ lcname[sizeof(lcname)-1] = '\0'; /* zend_str_tolower_copy won't necessarily set the
zero byte */
if (CG(active_class_entry)) {
if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname,
ZEND_DESTRUCTOR_FUNC_NAME, sizeof(ZEND_DESTRUCTOR_FUNC_NAME)) &&
CG(active_op_array)->num_args != 0) {