diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-08-28 01:47:46 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-08-28 01:47:46 +0200 |
commit | 7016935cc4f10f296c9fe5a4b45592fed4992528 (patch) | |
tree | 3c224f1662f8fb46e06206ee47964f55a2cdce60 /Python/pythonrun.c | |
parent | cd4462952d6252742ef0a084c90a8ceec6acfc6a (diff) | |
download | cpython-7016935cc4f10f296c9fe5a4b45592fed4992528.tar.gz |
pythonrun.c: use MAXPATHLEN instead of PATH_MAX
PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 522a05d8b4..375bf34c82 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -821,7 +821,7 @@ Py_GetProgramName(void) } static wchar_t *default_home = NULL; -static wchar_t env_home[PATH_MAX+1]; +static wchar_t env_home[MAXPATHLEN+1]; void Py_SetPythonHome(wchar_t *home) |