Changeset 408 for branches/1.2/utils.c
- Timestamp:
- 2007-05-31T06:20:14+02:00 (6 years ago)
- Location:
- branches/1.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2
-
branches/1.2/utils.c
r394 r408 630 630 } 631 631 /* }}} */ 632 static void xc_sandbox_install(xc_sandbox_t *sandbox TSRMLS_DC) /* {{{ */632 static void xc_sandbox_install(xc_sandbox_t *sandbox, xc_install_action_t install TSRMLS_DC) /* {{{ */ 633 633 { 634 634 int i; … … 674 674 #endif 675 675 676 xc_undo_pass_two(CG(active_op_array) TSRMLS_CC); 677 xc_foreach_early_binding_class(CG(active_op_array), xc_early_binding_cb, (void *) sandbox TSRMLS_CC); 678 xc_redo_pass_two(CG(active_op_array) TSRMLS_CC); 676 if (install != XC_InstallNoBinding) { 677 xc_undo_pass_two(CG(active_op_array) TSRMLS_CC); 678 xc_foreach_early_binding_class(CG(active_op_array), xc_early_binding_cb, (void *) sandbox TSRMLS_CC); 679 xc_redo_pass_two(CG(active_op_array) TSRMLS_CC); 680 } 679 681 680 682 i = 1; … … 682 684 } 683 685 /* }}} */ 684 void xc_sandbox_free(xc_sandbox_t *sandbox, int install TSRMLS_DC) /* {{{ */686 void xc_sandbox_free(xc_sandbox_t *sandbox, xc_install_action_t install TSRMLS_DC) /* {{{ */ 685 687 { 686 688 /* restore first first install function/class */ … … 695 697 #endif 696 698 697 if (install ) {699 if (install != XC_NoInstall) { 698 700 CG(in_compilation) = 1; 699 701 CG(compiled_filename) = sandbox->filename; 700 702 CG(zend_lineno) = 0; 701 xc_sandbox_install(sandbox TSRMLS_CC);703 xc_sandbox_install(sandbox, install TSRMLS_CC); 702 704 CG(in_compilation) = 0; 703 705 CG(compiled_filename) = NULL;
Note: See TracChangeset
for help on using the changeset viewer.

