diff options
author | Guido van Rossum <guido@python.org> | 1998-07-27 13:49:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-27 13:49:04 (GMT) |
commit | 28700c464a5940f675e092add0683d5afe0fffa0 (patch) | |
tree | b53ef5c0ec69ca4eee042089ba71f271fefc7ffa /PC/os2vacpp | |
parent | 8b2b3ce4be9adcf2c177d24fde9d984158971adf (diff) | |
download | cpython-28700c464a5940f675e092add0683d5afe0fffa0.zip cpython-28700c464a5940f675e092add0683d5afe0fffa0.tar.gz cpython-28700c464a5940f675e092add0683d5afe0fffa0.tar.bz2 |
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
Diffstat (limited to 'PC/os2vacpp')
-rw-r--r-- | PC/os2vacpp/getpathp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/os2vacpp/getpathp.c b/PC/os2vacpp/getpathp.c index d45c2f7..b7056ab 100644 --- a/PC/os2vacpp/getpathp.c +++ b/PC/os2vacpp/getpathp.c @@ -325,7 +325,7 @@ calculate_path() char argv0_path[MAXPATHLEN+1]; char *buf; int bufsz; - char *pythonhome = getenv("PYTHONHOME"); + char *pythonhome = Py_GetPythonHome(); char *envpath = getenv("PYTHONPATH"); #ifdef MS_WIN32 char *machinepath, *userpath; |