diff options
| author | foobar <sniper@php.net> | 2003-05-31 01:37:45 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2003-05-31 01:37:45 +0000 |
| commit | 8506ee1bfe569364c552118d69d82516b6a17a12 (patch) | |
| tree | a4d48d4d68b5ce716224dda67a1b8cb337e8fa7a /main/php_ini.c | |
| parent | 7cd254b070a279ff53b162dd713a892863f1a8be (diff) | |
| download | php-git-8506ee1bfe569364c552118d69d82516b6a17a12.tar.gz | |
- Re-added the FD lexer patch.
# Marcus is going to add the long-opts patches back in after this.
Diffstat (limited to 'main/php_ini.c')
| -rw-r--r-- | main/php_ini.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index 2be3459577..c30818965b 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; + zend_file_handle fh = {0}; struct stat sb; char ini_file[MAXPATHLEN]; char *p; @@ -347,7 +347,6 @@ 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]) { |
