1
0
Fork 0

merged [449] from turnk: fix compiling state after compiling non cachable files, thanks PatrickDK

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@451 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2007-07-12 03:11:06 +00:00
parent 266bddbfb9
commit 4953a17ea3
3 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Ini Settings Changes
ChangeLog
========
* bug fix for compatibility with Zend Optimizer and other non-cachable
* #55: segv php tokenizer on certain special situation
* new: xcache.stat = On
* could not show module info in admin page when XCache is the last module

1
NEWS
View File

@ -1,5 +1,6 @@
2.0.0 2007-?-?
========
* bug fix for compatibility with Zend Optimizer and other non-cachable
* a rare segv bug with token_get_all
* compatibility fix for apache 1.x, which init XCache module correctly
* full Zend Optimizer compatibility

View File

@ -994,6 +994,9 @@ static zend_op_array *xc_compile_php(xc_entry_data_php_t *php, zend_file_handle
if (!XG(initial_compile_file_called)) {
xc_sandbox_free(&sandbox, XC_InstallNoBinding TSRMLS_CC);
ENTER_LOCK(cache) {
cache->compiling = 0;
} LEAVE_LOCK(cache);
return op_array;
}