summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-08-20 17:02:11 +0000
committerZeev Suraski <zeev@php.net>1999-08-20 17:02:11 +0000
commit6313238c63d8b714e926b6a444f251fc631d73a8 (patch)
tree1007d9f596120ef3afa49521dd12cce109f1a90f /Zend/zend.c
parente5aa4c844f1d33fd7af0535e7ca50ae480ba07a6 (diff)
downloadphp-git-6313238c63d8b714e926b6a444f251fc631d73a8.tar.gz
Fix for Thies's UMR
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 568e8ff78b..39d945e963 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -262,7 +262,7 @@ static void compiler_globals_dtor(zend_compiler_globals *compiler_globals)
static void executor_globals_ctor(zend_executor_globals *executor_globals)
{
if (global_constants_table) {
- zend_startup_constants(executor_globals->zend_constants ELS_CC);
+ zend_startup_constants(ELS_C);
zend_copy_constants(executor_globals->zend_constants, global_constants_table);
}
init_resource_plist(ELS_C);
@@ -334,10 +334,10 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions)
compiler_globals_dtor(compiler_globals);
compiler_globals->function_table = GLOBAL_FUNCTION_TABLE;
compiler_globals->class_table = GLOBAL_CLASS_TABLE;
- zend_startup_constants(EG(zend_constants), executor_globals);
+ zend_startup_constants(executor_globals);
GLOBAL_CONSTANTS_TABLE = EG(zend_constants);
#else
- zend_startup_constants(EG(zend_constants));
+ zend_startup_constants();
#endif
zend_register_standard_constants(ELS_C);