Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r203 r209 397 397 sandbox->filename = filename; 398 398 399 #ifdef E_STRICT 400 sandbox->orig_user_error_handler_error_reporting = EG(user_error_handler_error_reporting); 401 EG(user_error_handler_error_reporting) &= ~E_STRICT; 402 #endif 403 399 404 return sandbox; 400 405 } … … 428 433 /* install class */ 429 434 while (b != NULL) { 430 xc_install_class(sandbox->filename, (xc_cest_t*) b->pData,435 xc_install_class(sandbox->filename, (xc_cest_t*) b->pData, -1, 431 436 BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength TSRMLS_CC); 432 437 b = b->pListNext; … … 469 474 memcpy(&EG(included_files), &OG(included_files), sizeof(EG(included_files))); 470 475 476 #ifdef E_STRICT 477 EG(user_error_handler_error_reporting) = sandbox->orig_user_error_handler_error_reporting; 478 #endif 479 471 480 if (sandbox->alloc) { 472 481 efree(sandbox); -
trunk/utils.h
r131 r209 35 35 typedef struct { 36 36 int alloc; 37 int orig_user_error_handler_error_reporting; 37 38 char *filename; 38 39
Note: See TracChangeset
for help on using the changeset viewer.

