]> granicus.if.org Git - python/commit
(Merge 3.3) pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:12:14 +0000 (17:12 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:12:14 +0000 (17:12 +0100)
commitb5a7a0aa3f9360a84fd5e96e415af277156d4988
tree337689527a9697697d3dc60b2af712ba0f1786fb
parent39ecf2ed13f9500f6e69b1b5298f8f7b0f83d074
parent2f5bbc6a123dfb36ed1f89e9016ec356695bdd8a
(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.
Python/pythonrun.c