tony2001 Sat May 19 12:52:31 2007 UTC Modified files: /php-src/main php_ini.c Log: use correct constant http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.153&r2=1.154&diff_format=u Index: php-src/main/php_ini.c diff -u php-src/main/php_ini.c:1.153 php-src/main/php_ini.c:1.154 --- php-src/main/php_ini.c:1.153 Mon May 14 12:19:25 2007 +++ php-src/main/php_ini.c Sat May 19 12:52:31 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ini.c,v 1.153 2007/05/14 12:19:25 tony2001 Exp $ */ +/* $Id: php_ini.c,v 1.154 2007/05/19 12:52:31 tony2001 Exp $ */ #include "php.h" #include "ext/standard/info.h" @@ -350,7 +350,7 @@ } #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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php