Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 85423:0424f4761500
pythonrun.c: use MAXPATHLEN instead of PATH_MAX
PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Wed, 28 Aug 2013 01:47:46 +0200 |
| parents | ef889c3d5dc6 |
| children | acc7439b1406 |
comparison
equal
deleted
inserted
replaced
| 85422:c1adbba72e32 | 85423:0424f4761500 |
|---|---|
| 819 { | 819 { |
| 820 return progname; | 820 return progname; |
| 821 } | 821 } |
| 822 | 822 |
| 823 static wchar_t *default_home = NULL; | 823 static wchar_t *default_home = NULL; |
| 824 static wchar_t env_home[PATH_MAX+1]; | 824 static wchar_t env_home[MAXPATHLEN+1]; |
| 825 | 825 |
| 826 void | 826 void |
| 827 Py_SetPythonHome(wchar_t *home) | 827 Py_SetPythonHome(wchar_t *home) |
| 828 { | 828 { |
| 829 default_home = home; | 829 default_home = home; |
