From: Antony Dovgal Date: Sat, 19 May 2007 12:52:31 +0000 (+0000) Subject: use correct constant X-Git-Tag: RELEASE_1_4~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c66d75a9330c38eb26631892bdaed5536a8e20b3;p=php use correct constant --- diff --git a/main/php_ini.c b/main/php_ini.c index 06be3eb90e..a97e8e8bff 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -350,7 +350,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;