cvs: ZendEngine2(PHP_5_3) / zend_compile.c

From: Date: Fri, 21 Mar 2008 18:20:07 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6568@lists.php.net to get a copy of this message
helly Fri Mar 21 18:20:07 2008 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_compile.c Log: - Simplify http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.41.2.53&r2=1.647.2.27.2.41.2.54&diff_format=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.53 ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.54 --- ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.53 Tue Mar 18 11:37:00 2008 +++ ZendEngine2/zend_compile.c Fri Mar 21 18:20:07 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.53 2008/03/18 11:37:00 dmitry Exp $ */ +/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.54 2008/03/21 18:20:07 helly Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -3429,8 +3429,7 @@ 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); }

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