tony2001                Sat May 19 12:53:06 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main       php_ini.c 
  Log:
  MFH
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.136.2.4.2.12&r2=1.136.2.4.2.13&diff_format=u
Index: php-src/main/php_ini.c
diff -u php-src/main/php_ini.c:1.136.2.4.2.12 
php-src/main/php_ini.c:1.136.2.4.2.13
--- php-src/main/php_ini.c:1.136.2.4.2.12       Mon May 14 12:19:34 2007
+++ php-src/main/php_ini.c      Sat May 19 12:53:06 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_ini.c,v 1.136.2.4.2.12 2007/05/14 12:19:34 tony2001 Exp $ */
+/* $Id: php_ini.c,v 1.136.2.4.2.13 2007/05/19 12:53:06 tony2001 Exp $ */
 
 #include "php.h"
 #include "ext/standard/info.h"
@@ -352,7 +352,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

Reply via email to