diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-08-27 23:47:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-08-27 23:47:46 (GMT) |
commit | 55a1220bdbdff64320a906f0e09ca7644eeb445f (patch) | |
tree | 83c961ce27116dda17d92b4a401318a522b5877d /Python/pythonrun.c | |
parent | 340f712b84abcc652d65027443bb64d5e8ac7eda (diff) | |
download | cpython-55a1220bdbdff64320a906f0e09ca7644eeb445f.zip cpython-55a1220bdbdff64320a906f0e09ca7644eeb445f.tar.gz cpython-55a1220bdbdff64320a906f0e09ca7644eeb445f.tar.bz2 |
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 522a05d..375bf34 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) |