Skip to content

Commit

Permalink
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Jul 27, 1998
1 parent 8b2b3ce commit 28700c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/os2vacpp/getpathp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 28700c4

Please sign in to comment.