Mercurial > cpython-lru_cache-weakref
diff Python/random.c @ 87113:159e51e5fc2c 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.
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Fri, 15 Nov 2013 17:09:24 +0100 |
| parents | 176bb5a98463 |
| children | b0295cc736d8 |
