- Simplify

This commit is contained in:
Marcus Boerger 2008-03-21 18:20:07 +00:00
parent adaf6daa3c
commit 51e9bd075f

View File

@ -3429,8 +3429,7 @@ void zend_do_halt_compiler_register(TSRMLS_D)
int len, clen;
cfilename = zend_get_compiled_filename(TSRMLS_C);
clen = strlen(cfilename);
zend_mangle_property_name(&name, &len, haltoff,
sizeof("__COMPILER_HALT_OFFSET__") - 1, cfilename, clen, 0);
zend_mangle_property_name(&name, &len, haltoff, sizeof(haltoff) - 1, cfilename, clen, 0);
zend_register_long_constant(name, len+1, zend_get_scanned_file_offset(TSRMLS_C), CONST_CS, 0 TSRMLS_CC);
pefree(name, 0);
}