From: Sara Golemon Date: Sat, 21 Aug 2004 00:01:44 +0000 (+0000) Subject: MFH Bufix#29777 Bad commenting X-Git-Tag: php-5.0.2RC1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85fe5f8c34e7e07ef08a1755e1a41c46e98853f1;p=php MFH Bufix#29777 Bad commenting --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 8bace35b4d..9000bb2ebb 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1100,7 +1100,7 @@ void zend_do_end_function_declaration(znode *function_token TSRMLS_DC) * 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) {