commit | b5a7a0aa3f9360a84fd5e96e415af277156d4988 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:12:14 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Nov 15 17:12:14 2013 +0100 |
tree | 337689527a9697697d3dc60b2af712ba0f1786fb | |
parent | 39ecf2ed13f9500f6e69b1b5298f8f7b0f83d074 [diff] | |
parent | 2f5bbc6a123dfb36ed1f89e9016ec356695bdd8a [diff] |
(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.