Changeset 669 for trunk/utils.c
- Timestamp:
- 2009-08-07T04:31:12+02:00 (4 years ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r668 r669 530 530 #define OG(x) (sandbox->orig_##x) 531 531 /* }}} */ 532 #if defined(E_STRICT) || defined(E_DEPRECATED)532 #ifdef XCACHE_ERROR_CACHING 533 533 static void xc_sandbox_error_cb(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) /* {{{ */ 534 534 { … … 540 540 assert(sandbox != NULL); 541 541 switch (type) { 542 #ifdef E_STRICT :542 #ifdef E_STRICT 543 543 case E_STRICT: 544 544 #endif … … 740 740 sandbox->filename = filename; 741 741 742 #ifdef E_STRICT742 #ifdef XCACHE_ERROR_CACHING 743 743 sandbox->orig_user_error_handler_error_reporting = EG(user_error_handler_error_reporting); 744 744 EG(user_error_handler_error_reporting) = 0; … … 823 823 } 824 824 825 #ifdef E_STRICT825 #ifdef XCACHE_ERROR_CACHING 826 826 /* restore trigger errors */ 827 827 for (i = 0; i < sandbox->compilererror_cnt; i ++) { … … 840 840 { 841 841 XG(sandbox) = NULL; 842 #ifdef E_STRICT842 #ifdef XCACHE_ERROR_CACHING 843 843 EG(user_error_handler_error_reporting) = sandbox->orig_user_error_handler_error_reporting; 844 844 zend_error_cb = sandbox->orig_zend_error_cb; … … 886 886 memcpy(&EG(included_files), &OG(included_files), sizeof(EG(included_files))); 887 887 888 #ifdef E_STRICT888 #ifdef XCACHE_ERROR_CACHING 889 889 if (sandbox->compilererrors) { 890 890 zend_uint i;
Note: See TracChangeset
for help on using the changeset viewer.

