diff options
author | Antony Dovgal <tony2001@php.net> | 2007-05-19 12:53:06 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-05-19 12:53:06 +0000 |
commit | 0db4f06f13f36aa81cbfc37081d80cd77e7b99ea (patch) | |
tree | 4d8cf9b38f96e369619cfe4018a7f83aaae5e238 /main/php_ini.c | |
parent | 3dc920d4ea34f29cc1961b37bcd5a09ab21fc1ec (diff) | |
download | php-git-0db4f06f13f36aa81cbfc37081d80cd77e7b99ea.tar.gz |
MFH
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index b7ff09b51a..1b756fcf1c 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -352,7 +352,7 @@ int php_init_config(TSRMLS_D) } #else if (sapi_module.executable_location) { - binary_location = (char *)emalloc(PATH_MAX); + binary_location = (char *)emalloc(MAXPATHLEN); if (!strchr(sapi_module.executable_location, '/')) { char *envpath, *path; int found = 0; |