]> granicus.if.org Git - python/commitdiff
(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)
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.

1  2 
Python/pythonrun.c

Simple merge