1
0
Fork 0

fix compiling state after compiling non cachable files, thanks PatrickDK

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.2@449 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent d737e64d9a
commit 39d0f92019
  1. 1
      ChangeLog
  2. 1
      NEWS
  3. 7
      xcache.c

@ -1,5 +1,6 @@
1.2.2 2007-?-?
== ChangeLog ==
* bug fix for compatibility with Zend Optimizer and other non-cachable
* #55: segv php tokenizer on certain special situation
1.2.1 2007-07-01

@ -1,5 +1,6 @@
1.2.2 2007-?-?
========
* bug fix for compatibility with Zend Optimizer and other non-cachable
* a rare segv bug with token_get_all
1.2.1 2007-07-01

@ -966,8 +966,11 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
if (!XG(initial_compile_file_called)) {
xc_sandbox_free(&sandbox, XC_InstallNoBinding TSRMLS_CC);
return op_array;
}
ENTER_LOCK(cache) {
cache->compiling = 0;
} LEAVE_LOCK(cache);
return op_array;
}
filename = h->opened_path ? h->opened_path : h->filename;
/* none-inode enabled entry hash/compare on name

Loading…
Cancel
Save