1
0
Fork 0

tests/bug52160.phpt: report multiple error correctly

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@829 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent eb52f93f2a
commit bbde30a43a

@ -13,6 +13,7 @@ ChangeLog
1.3.2 2012-?-?
========
* fix constant name handling (possible SIGSEGV)
* tests/bug52160.phpt: report multiple error correctly
1.3.2 2012-03-23
========

@ -616,7 +616,7 @@ static void xc_sandbox_error_cb(int type, const char *error_filename, const uint
for (i = 0; i < sandbox->compilererror_cnt; i ++) {
compilererror = &sandbox->compilererrors[i];
CG(zend_lineno) = compilererror->lineno;
zend_error(type, "%s", compilererror->error);
zend_error(compilererror->type, "%s", compilererror->error);
}
CG(zend_lineno) = orig_lineno;
sandbox->compilererror_cnt = 0;

@ -1,4 +1,5 @@
memory_limit = 256M
error_reporting = E_ALL|E_STRICT
[xcache]
zend_extension_debug_ts=./modules/xcache.so

Loading…
Cancel
Save