diff options
| author | Zeev Suraski <zeev@php.net> | 2003-03-02 10:19:15 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-03-02 10:19:15 +0000 |
| commit | 4e55747a2b0fd481018bfd390e2aa50569f73c41 (patch) | |
| tree | 999911ceac279ed56478548a190ffd165f7ca206 /ext | |
| parent | f7b7800479ba43c2361ce2be981b7a59a0c9c1e1 (diff) | |
| download | php-git-4e55747a2b0fd481018bfd390e2aa50569f73c41.tar.gz | |
Add JIT initialization for _SERVER and _ENV
(it's less important for the others, even though it should be fairly
easy now too)
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/filepro/filepro.c | 4 | ||||
| -rw-r--r-- | ext/session/session.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index 712d4d4653..935f996c29 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -34,11 +34,7 @@ #include "safe_mode.h" #include "fopen_wrappers.h" #include <string.h> -#ifdef PHP_WIN32 -#include <windows.h> -#else #include <sys/param.h> -#endif #include <errno.h> #include "php_globals.h" diff --git a/ext/session/session.c b/ext/session/session.c index d74d787029..495dfa07fc 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1714,7 +1714,7 @@ PHP_MINIT_FUNCTION(session) ps_globals = ts_resource(ps_globals_id); #endif - zend_register_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC); + zend_register_auto_global("_SESSION", sizeof("_SESSION")-1, NULL TSRMLS_CC); PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */ |
