pajoye Wed Aug 13 21:51:54 2008 UTC Modified files: /php-src/main php_ini.c Log: - MFB: move declaration on top and fix build error http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.168&r2=1.169&diff_format=u Index: php-src/main/php_ini.c diff -u php-src/main/php_ini.c:1.168 php-src/main/php_ini.c:1.169 --- php-src/main/php_ini.c:1.168 Wed Aug 13 00:49:59 2008 +++ php-src/main/php_ini.c Wed Aug 13 21:51:54 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ini.c,v 1.168 2008/08/13 00:49:59 jani Exp $ */ +/* $Id: php_ini.c,v 1.169 2008/08/13 21:51:54 pajoye Exp $ */ #include "php.h" #include "ext/standard/info.h" @@ -340,6 +340,7 @@ { char *php_ini_file_name = NULL; char *php_ini_search_path = NULL; + int php_ini_scanned_path_len; char *open_basedir; int free_ini_search_path = 0; zend_file_handle fh; @@ -598,7 +599,7 @@ /* Or fall back using possible --with-config-file-scan-dir setting (defaults to empty string!) */ php_ini_scanned_path = PHP_CONFIG_FILE_SCAN_DIR; } - int php_ini_scanned_path_len = strlen(php_ini_scanned_path); + php_ini_scanned_path_len = strlen(php_ini_scanned_path); /* Scan and parse any .ini files found in scan path if path not empty. */ if (!sapi_module.php_ini_ignore && php_ini_scanned_path_len) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php