summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-10-22 16:53:42 +0000
committerXuefer <xuefer@gmail.com>2013-10-22 16:53:42 +0000
commit08b16f24d7988b809619bf6d5900217ba3cc7e39 (patch)
tree12703c8a8d45dff4cbe5bfcf23158234c531a32f /xcache
parent59fc9ffed003198678b3e93aa8e1ae14d1c33c07 (diff)
downloadxcache-08b16f24d7988b809619bf6d5900217ba3cc7e39.tar.gz
xcache-08b16f24d7988b809619bf6d5900217ba3cc7e39.zip
fixed #329: compatbile with bcompiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1434 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xcache/xc_sandbox.c b/xcache/xc_sandbox.c
index ff038a3..e527b43 100644
--- a/xcache/xc_sandbox.c
+++ b/xcache/xc_sandbox.c
@@ -163,6 +163,7 @@ static xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, ZEND_24(NOTHING, con
OG(function_table) = CG(function_table);
CG(function_table) = &TG(function_table);
+ EG(function_table) = CG(function_table);
OG(class_table) = CG(class_table);
CG(class_table) = &TG(class_table);
@@ -331,6 +332,7 @@ static void xc_sandbox_free(xc_sandbox_t *sandbox, zend_op_array *op_array TSRML
EG(zend_constants) = OG(zend_constants);
#endif
CG(function_table) = OG(function_table);
+ EG(function_table) = CG(function_table);
CG(class_table) = OG(class_table);
EG(class_table) = CG(class_table);
#ifdef ZEND_ENGINE_2_1