diff options
| author | Zeev Suraski <zeev@php.net> | 2003-05-21 09:34:21 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-05-21 09:34:21 +0000 |
| commit | 2127840893fd699284d21d4e6f2666accdb11814 (patch) | |
| tree | 40ea1aad100acf02b849042da3b018c880ecfef2 /main/php_ini.c | |
| parent | 2e34a6a9a6c4a115278735feade3564fd748735b (diff) | |
| download | php-git-2127840893fd699284d21d4e6f2666accdb11814.tar.gz | |
Revert PHP part of the fd patch
Diffstat (limited to 'main/php_ini.c')
| -rw-r--r-- | main/php_ini.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index c30818965b..2be3459577 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -236,7 +236,7 @@ int php_init_config() int safe_mode_state; char *open_basedir; int free_ini_search_path=0; - zend_file_handle fh = {0}; + zend_file_handle fh; struct stat sb; char ini_file[MAXPATHLEN]; char *p; @@ -347,6 +347,7 @@ int php_init_config() PG(safe_mode) = 0; PG(open_basedir) = NULL; + memset(&fh, 0, sizeof(fh)); /* Check if php_ini_path_override is a file */ if (!sapi_module.php_ini_ignore) { if (sapi_module.php_ini_path_override && sapi_module.php_ini_path_override[0]) { |
