summaryrefslogtreecommitdiff
path: root/RISCOS
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-07-23 16:30:27 +0000
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-07-23 16:30:27 +0000
commit7d4bb9f179f1888a472fd5d5a30df4ec3c55fea5 (patch)
tree6b57c0d5016d8f919397303aaaa11cf610e1dd9d /RISCOS
parentf973c6d5949bfed3e74b8b94c427c43df1e4b95c (diff)
downloadcpython-git-7d4bb9f179f1888a472fd5d5a30df4ec3c55fea5.tar.gz
Add -E command line switch (ignore environment variables like PYTHONHOME
and PYTHONPATH).
Diffstat (limited to 'RISCOS')
-rw-r--r--RISCOS/Modules/getpath_riscos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/RISCOS/Modules/getpath_riscos.c b/RISCOS/Modules/getpath_riscos.c
index 7582b17306..8b36952f33 100644
--- a/RISCOS/Modules/getpath_riscos.c
+++ b/RISCOS/Modules/getpath_riscos.c
@@ -5,7 +5,7 @@ static char *prefix,*exec_prefix,*progpath,*module_search_path=0;
static void
calculate_path()
-{ char *pypath=getenv("Python$Path");
+{ char *pypath=Py_GETENV("Python$Path");
if(pypath)
{ module_search_path=malloc(strlen(pypath)+1);
if (module_search_path) sprintf(module_search_path,"%s",pypath);