com php-src: Merge branch 'PHP-5.6': main/main.c

From: Date: Tue, 03 Mar 2015 08:29:41 +0000
Subject: com php-src: Merge branch 'PHP-5.6': main/main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85164@lists.php.net to get a copy of this message
Commit: bb2e62ecda3f3935a076063be66b394ac6831c09 Author: Reeze Xia <reeze@php.net> Tue, 3 Mar 2015 16:29:41 +0800 Parents: 143cc672827cd37d5bfa8e8626e9e0393e5dc061 808e562f23fcc758c5ffc9b5e2f88429af3add7f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bb2e62ecda3f3935a076063be66b394ac6831c09 Log: Merge branch 'PHP-5.6' * PHP-5.6: Improve fix for bug 67741 Conflicts: main/main.c Bugs: https://bugs.php.net/67741 Changed paths: MM main/main.c Diff: diff --cc main/main.c index 4bcf698,f7a768f..3dcba48 --- a/main/main.c +++ b/main/main.c @@@ -2534,10 -2589,12 +2534,12 @@@ PHPAPI int php_execute_script(zend_file int orig_start_lineno = CG(start_lineno); CG(start_lineno) = 0; - retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 1, prepend_file_p) == SUCCESS); - CG(start_lineno) = orig_start_lineno; - - retval = retval && (zend_execute_scripts(ZEND_REQUIRE, NULL, 2, primary_file, append_file_p) == SUCCESS); - if (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 1, prepend_file_p) == SUCCESS) { ++ if (zend_execute_scripts(ZEND_REQUIRE, NULL, 1, prepend_file_p) == SUCCESS) { + CG(start_lineno) = orig_start_lineno; - retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 2, primary_file, append_file_p) == SUCCESS); ++ retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 2, primary_file, append_file_p) == SUCCESS); + } + } else { - retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS); ++ retval = (zend_execute_scripts(ZEND_REQUIRE, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS); } } zend_end_try();

« previous php.cvs (#85164) next »