]> granicus.if.org Git - python/commitdiff
Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
authorGuido van Rossum <guido@python.org>
Mon, 27 Jul 1998 13:49:04 +0000 (13:49 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 27 Jul 1998 13:49:04 +0000 (13:49 +0000)
PC/os2vacpp/getpathp.c

index d45c2f7a72cae7c000fbbb21d6d5cc7c47aad2f5..b7056ab1b401b2c899a7f7a4515748378b4d0cf7 100644 (file)
@@ -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;