From: Victor Stinner Date: Fri, 15 Nov 2013 16:12:14 +0000 (+0100) Subject: (Merge 3.3) pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get X-Git-Tag: v3.4.0b1~268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5a7a0aa3f9360a84fd5e96e415af277156d4988;p=thirdparty%2FPython%2Fcpython.git (Merge 3.3) pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size of the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX. --- b5a7a0aa3f9360a84fd5e96e415af277156d4988