]> granicus.if.org Git - python/commit
pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size of
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:09:24 +0000 (17:09 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 15 Nov 2013 16:09:24 +0000 (17:09 +0100)
commit2f5bbc6a123dfb36ed1f89e9016ec356695bdd8a
tree25849ddd7133bafc5f4de5a163cd24cdc819c1b3
parent8bdc130121550fa99d7e76c84a06deda21000cd4
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