diff options
author | Sara Golemon <pollita@php.net> | 2004-08-21 00:00:16 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-08-21 00:00:16 +0000 |
commit | b5547442e51ed94bc746e3d8f9b5a931dcf3d31f (patch) | |
tree | 540b7346900c5afe0ccc7e80ec31cee32ae02db0 /Zend | |
parent | 5a81efa31f590e0f04720df327fbb291326aa921 (diff) | |
download | php-git-b5547442e51ed94bc746e3d8f9b5a931dcf3d31f.tar.gz |
Bugfix#29777 Some compilers don't like // style comments
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 22ecd626f5..547beb9665 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1102,7 +1102,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) { |