Changeset 954 for trunk/utils.c
- Timestamp:
- 2012-07-06T11:18:49+02:00 (11 months ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r938 r954 585 585 ZEND_24(NOTHING, const) char *filename; 586 586 587 #ifndef ZEND_ENGINE_2_2 587 588 HashTable orig_included_files; 588 589 HashTable *tmp_included_files; 590 #endif 589 591 590 592 #ifdef HAVE_XCACHE_CONSTANT … … 772 774 memset(sandbox, 0, sizeof(sandbox[0])); 773 775 776 #ifndef ZEND_ENGINE_2_2 774 777 memcpy(&OG(included_files), &EG(included_files), sizeof(EG(included_files))); 778 #endif 775 779 776 780 #ifdef HAVE_XCACHE_CONSTANT … … 791 795 #endif 792 796 797 #ifndef ZEND_ENGINE_2_2 793 798 TG(included_files) = &EG(included_files); 794 799 #endif 800 801 #ifndef ZEND_ENGINE_2_2 795 802 zend_hash_init_ex(TG(included_files), 5, NULL, NULL, 0, 1); 803 #endif 796 804 #ifdef HAVE_XCACHE_CONSTANT 797 805 h = OG(zend_constants); … … 926 934 #endif 927 935 936 #ifndef ZEND_ENGINE_2_2 928 937 i = 1; 929 938 zend_hash_add(&OG(included_files), sandbox->filename, strlen(sandbox->filename) + 1, (void *)&i, sizeof(int), NULL); 939 #endif 930 940 } 931 941 /* }}} */ … … 978 988 zend_hash_destroy(&TG(auto_globals)); 979 989 #endif 990 #ifndef ZEND_ENGINE_2_2 980 991 zend_hash_destroy(TG(included_files)); 981 992 #endif 993 994 #ifndef ZEND_ENGINE_2_2 982 995 /* restore orig here, as EG/CG holded tmp before */ 983 996 memcpy(&EG(included_files), &OG(included_files), sizeof(EG(included_files))); 997 #endif 984 998 985 999 #ifdef XCACHE_ERROR_CACHING
Note: See TracChangeset
for help on using the changeset viewer.

